Changeset 1709494
- Timestamp:
- 08/07/2017 10:37:29 AM (9 years ago)
- Location:
- pricemesh/trunk
- Files:
-
- 5 edited
-
admin/assets/js/handlebars-v1.3.0.js (modified) (10 diffs)
-
admin/assets/js/metabox.js (modified) (3 diffs)
-
pricemesh.php (modified) (1 diff)
-
public/pricemesh-public.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pricemesh/trunk/admin/assets/js/handlebars-v1.3.0.js
r866107 r1709494 26 26 */ 27 27 /* exported Handlebars */ 28 var Handlebars = (function() {28 var PMHandlebars = (function() { 29 29 // handlebars/safe-string.js 30 30 var __module4__ = (function() { … … 182 182 objectType = '[object Object]'; 183 183 184 function HandlebarsEnvironment(helpers, partials) {184 function PMHandlebarsEnvironment(helpers, partials) { 185 185 this.helpers = helpers || {}; 186 186 this.partials = partials || {}; … … 189 189 } 190 190 191 __exports__. HandlebarsEnvironment = HandlebarsEnvironment;HandlebarsEnvironment.prototype = {192 constructor: HandlebarsEnvironment,191 __exports__.PMHandlebarsEnvironment = PMHandlebarsEnvironment;PMHandlebarsEnvironment.prototype = { 192 constructor: PMHandlebarsEnvironment, 193 193 194 194 logger: logger, … … 503 503 var runtime = __dependency5__; 504 504 505 // For compatibility and usage outside of module systems, make the Handlebars object a namespace505 // For compatibility and usage outside of module systems, make the PMHandlebars object a namespace 506 506 var create = function() { 507 var hb = new base. HandlebarsEnvironment();507 var hb = new base.PMHandlebarsEnvironment(); 508 508 509 509 Utils.extend(hb, base); … … 520 520 }; 521 521 522 var Handlebars = create();523 Handlebars.create = create;524 525 __exports__ = Handlebars;522 var PMHandlebars = create(); 523 PMHandlebars.create = create; 524 525 __exports__ = PMHandlebars; 526 526 return __exports__; 527 527 })(__module2__, __module4__, __module5__, __module3__, __module6__); … … 1815 1815 }, 1816 1816 1817 namespace: " Handlebars",1817 namespace: "PMHandlebars", 1818 1818 // END PUBLIC API 1819 1819 … … 1927 1927 } 1928 1928 1929 var params = this.isChild ? ["depth0", "data"] : [" Handlebars", "depth0", "helpers", "partials", "data"];1929 var params = this.isChild ? ["depth0", "data"] : ["PMHandlebars", "depth0", "helpers", "partials", "data"]; 1930 1930 1931 1931 for(var i=0, l=this.environment.depths.list.length; i<l; i++) { … … 2705 2705 var __exports__; 2706 2706 /*globals Handlebars: true */ 2707 var Handlebars = __dependency1__;2707 var PMHandlebars = __dependency1__; 2708 2708 2709 2709 // Compiler imports … … 2716 2716 var JavaScriptCompiler = __dependency5__; 2717 2717 2718 var _create = Handlebars.create;2718 var _create = PMHandlebars.create; 2719 2719 var create = function() { 2720 2720 var hb = _create(); … … 2736 2736 }; 2737 2737 2738 Handlebars = create();2739 Handlebars.create = create;2740 2741 __exports__ = Handlebars;2738 PMHandlebars = create(); 2739 PMHandlebars.create = create; 2740 2741 __exports__ = PMHandlebars; 2742 2742 return __exports__; 2743 2743 })(__module1__, __module7__, __module8__, __module10__, __module11__); -
pricemesh/trunk/admin/assets/js/metabox.js
r1111822 r1709494 186 186 var resp = JSON.parse(jqXHR.responseText); 187 187 var templateScript = $("#pm-products").html(); 188 var template = Handlebars.compile(templateScript);188 var template = PMHandlebars.compile(templateScript); 189 189 $("#pm-results").removeClass("hidden").append(template(resp.results)); 190 190 }catch(err){ … … 285 285 }(jQuery)); 286 286 287 Handlebars.registerHelper('ifEqual', function(v1, v2, options) {287 PMHandlebars.registerHelper('ifEqual', function(v1, v2, options) { 288 288 if(v1 === v2) { 289 289 return options.fn(this); … … 292 292 }); 293 293 294 Handlebars.registerHelper('pluralize', function(number, single, plural) {294 PMHandlebars.registerHelper('pluralize', function(number, single, plural) { 295 295 return (number === 1) ? single : plural; 296 296 }); -
pricemesh/trunk/pricemesh.php
r1554301 r1709494 4 4 Plugin URI: https://www.pricemesh.io/plugins/wordpress/ 5 5 Description: Extend WordPress with your own price comparison | WordPress um einen eigenen Preisvergleich erweitern. 6 Version: 1.6. 96 Version: 1.6.10 7 7 Author: pricemesh 8 8 Author URI: https://www.pricemesh.io -
pricemesh/trunk/public/pricemesh-public.php
r1554301 r1709494 22 22 * @var string 23 23 */ 24 const VERSION = '1.6. 9';24 const VERSION = '1.6.10'; 25 25 26 26 /** -
pricemesh/trunk/readme.txt
r1706090 r1709494 4 4 Requires at least: 3.4 5 5 Tested up to: 4.8.0 6 Stable tag: 1.6. 96 Stable tag: 1.6.10 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.