1/** 2 * Internal Engine Constants 3 * @namespace WPGMZA 4 * @module InternalEngine 5 * @requires WPGMZA 6 */ 7jQuery(function($) { 8 9 /** 10 * @class WPGMZA.InternalEngine 11 * @memberof WPGMZA 12 */ 13 WPGMZA.InternalEngine = { 14 15 /** 16 * Legacy 17 * @constant LEGACY 18 * @static 19 * @memberof WPGMZA.InternalEngine 20 */ 21 LEGACY: "legacy", 22 23 /** 24 * Atlas Novus 25 * @constant ATLAS_NOVUS 26 * @static 27 * @memberof WPGMZA.InternalEngine 28 */ 29 ATLAS_NOVUS: "atlast-novus", 30 31 /** 32 * Check if the interface is in legacy mode, 33 * @method isLegacy 34 * @static 35 * @memberof WPGMZA.InternalEngine 36 * @return {bool} True if in legacy 37 */ 38 isLegacy: function(){ 39 return WPGMZA.settings.internalEngine === WPGMZA.InternalEngine.LEGACY; 40 }, 41 42 /** 43 * Access the global setting in a safe way 44 * @method getEngine 45 * @static 46 * @memberof WPGMZA.InternalEngine 47 * @return {string} The selected engine 48 */ 49 getEngine: function(){ 50 return WPGMZA.settings.internalEngine; 51 } 52 }; 53 54});
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.