handlebars.runtime.js in handlebars-source-3.0.2 vs handlebars.runtime.js in handlebars-source-3.0.3
- old
+ new
@@ -1,8 +1,8 @@
/*!
- handlebars v3.0.2
+ handlebars v3.0.3
Copyright (C) 2011-2014 by Yehuda Katz
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -78,16 +78,15 @@
/************************************************************************/
/******/ ([
/* 0 */
/***/ function(module, exports, __webpack_require__) {
- /* WEBPACK VAR INJECTION */(function(global) {'use strict';
+ 'use strict';
- var _interopRequireWildcard = __webpack_require__(6)['default'];
+ var _interopRequireWildcard = __webpack_require__(7)['default'];
exports.__esModule = true;
- /*global window */
var _import = __webpack_require__(1);
var base = _interopRequireWildcard(_import);
@@ -108,10 +107,14 @@
var _import3 = __webpack_require__(5);
var runtime = _interopRequireWildcard(_import3);
+ var _noConflict = __webpack_require__(6);
+
+ var _noConflict2 = _interopRequireWildcard(_noConflict);
+
// For compatibility and usage outside of module systems, make the Handlebars object a namespace
function create() {
var hb = new base.HandlebarsEnvironment();
Utils.extend(hb, base);
@@ -126,37 +129,27 @@
};
return hb;
}
- var Handlebars = create();
- Handlebars.create = create;
+ var inst = create();
+ inst.create = create;
- /*jshint -W040 */
- /* istanbul ignore next */
- var root = typeof global !== 'undefined' ? global : window,
- $Handlebars = root.Handlebars;
- /* istanbul ignore next */
- Handlebars.noConflict = function () {
- if (root.Handlebars === Handlebars) {
- root.Handlebars = $Handlebars;
- }
- };
+ _noConflict2['default'](inst);
- Handlebars['default'] = Handlebars;
+ inst['default'] = inst;
- exports['default'] = Handlebars;
+ exports['default'] = inst;
module.exports = exports['default'];
- /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
/***/ },
/* 1 */
/***/ function(module, exports, __webpack_require__) {
'use strict';
- var _interopRequireWildcard = __webpack_require__(6)['default'];
+ var _interopRequireWildcard = __webpack_require__(7)['default'];
exports.__esModule = true;
exports.HandlebarsEnvironment = HandlebarsEnvironment;
exports.createFrame = createFrame;
@@ -501,11 +494,10 @@
exports.indexOf = indexOf;
exports.escapeExpression = escapeExpression;
exports.isEmpty = isEmpty;
exports.blockParams = blockParams;
exports.appendContextPath = appendContextPath;
- /*jshint -W004 */
var escape = {
'&': '&',
'<': '<',
'>': '>',
'"': '"',
@@ -612,11 +604,11 @@
/* 5 */
/***/ function(module, exports, __webpack_require__) {
'use strict';
- var _interopRequireWildcard = __webpack_require__(6)['default'];
+ var _interopRequireWildcard = __webpack_require__(7)['default'];
exports.__esModule = true;
exports.checkRevision = checkRevision;
// TODO: Remove this line and break up compilePartial
@@ -845,9 +837,33 @@
return data;
}
/***/ },
/* 6 */
+/***/ function(module, exports, __webpack_require__) {
+
+ /* WEBPACK VAR INJECTION */(function(global) {'use strict';
+
+ exports.__esModule = true;
+ /*global window */
+
+ exports['default'] = function (Handlebars) {
+ /* istanbul ignore next */
+ var root = typeof global !== 'undefined' ? global : window,
+ $Handlebars = root.Handlebars;
+ /* istanbul ignore next */
+ Handlebars.noConflict = function () {
+ if (root.Handlebars === Handlebars) {
+ root.Handlebars = $Handlebars;
+ }
+ };
+ };
+
+ module.exports = exports['default'];
+ /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
+
+/***/ },
+/* 7 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
exports["default"] = function (obj) {
\ No newline at end of file