1(function ($, Drupal) { 2 Drupal.tarte_au_citron = Drupal.tarte_au_citron || { 3 _init: false, 4 settings: {}, 5 settings_alter: {}, 6 init: function (tacjs_settings) { 7 if(this._init) { 8 return; 9 } 10 11 this.settings = tacjs_settings; 12 var keys = Object.keys(this.settings_alter); 13 var self = this; 14 keys.forEach(function (item, index) { 15 self.settings_alter[item].call(self); 16 }); 17 18 // force English in order for strings to be localized. 19 if (this.settings.tarteaucitronForceLanguage) { 20 tarteaucitronForceLanguage = this.settings.tarteaucitronForceLanguage; 21 } 22 else if (this.settings.tarteaucitronCustomText) {// Add custom translated texts to tarteaucitron. 23 tarteaucitronCustomText = this.settings.tarteaucitronCustomText; 24 } 25 26 tarteaucitron.init(this.settings); 27 28 this._init = true; 29 } 30 }; 31}(jQuery, Drupal));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.