Rebuild
This commit is contained in:
Vendored
+5
-4
@@ -96,10 +96,9 @@ Handlebars.registerHelper('blockHelperMissing', function(context, options) {
|
||||
|
||||
Handlebars.K = function() {};
|
||||
|
||||
Handlebars.createFrame = Object.create || function(object) {
|
||||
Handlebars.K.prototype = object;
|
||||
var obj = new Handlebars.K();
|
||||
Handlebars.K.prototype = null;
|
||||
Handlebars.createFrame = function(object) {
|
||||
var obj = {};
|
||||
Handlebars.Utils.extend(obj, object);
|
||||
return obj;
|
||||
};
|
||||
|
||||
@@ -842,6 +841,8 @@ Handlebars.Utils = {
|
||||
},
|
||||
|
||||
escapeExpression: function(string) {
|
||||
/*jshint eqnull: true */
|
||||
|
||||
// don't escape SafeStrings, since they're already safe
|
||||
if (string instanceof Handlebars.SafeString) {
|
||||
return string.toString();
|
||||
|
||||
Vendored
+5
-4
@@ -96,10 +96,9 @@ Handlebars.registerHelper('blockHelperMissing', function(context, options) {
|
||||
|
||||
Handlebars.K = function() {};
|
||||
|
||||
Handlebars.createFrame = Object.create || function(object) {
|
||||
Handlebars.K.prototype = object;
|
||||
var obj = new Handlebars.K();
|
||||
Handlebars.K.prototype = null;
|
||||
Handlebars.createFrame = function(object) {
|
||||
var obj = {};
|
||||
Handlebars.Utils.extend(obj, object);
|
||||
return obj;
|
||||
};
|
||||
|
||||
@@ -231,6 +230,8 @@ Handlebars.Utils = {
|
||||
},
|
||||
|
||||
escapeExpression: function(string) {
|
||||
/*jshint eqnull: true */
|
||||
|
||||
// don't escape SafeStrings, since they're already safe
|
||||
if (string instanceof Handlebars.SafeString) {
|
||||
return string.toString();
|
||||
|
||||
Reference in New Issue
Block a user