handlebars_assets 0.23.2 → 0.23.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/handlebars_assets/version.rb +1 -1
- data/vendor/assets/javascripts/handlebars.js +380 -149
- data/vendor/assets/javascripts/handlebars.runtime.js +311 -83
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f0e24132ea05eed00f271a8ffbe4201c47c6f0a
|
4
|
+
data.tar.gz: d2180a10845ab377652c296aebf21a0914e371eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 811080741a3b052b98b57fbdcc72e7efe063dc322beee60fa0c9ad0f007f84ffa97acf782a58ee00f415b0c335b425b4cdcd6ab8fb57179980785797c2a70b80
|
7
|
+
data.tar.gz: 8773583524d69d17cd3719ee1f84e3dad200e6b129b65f7461487d0bbb0e4a979054947a7dfa7557cc08ff9b7fc47cf407ba5b565391c10cedbe358a6aae0be6
|
@@ -1,8 +1,9 @@
|
|
1
|
-
|
1
|
+
/**!
|
2
2
|
|
3
|
-
|
3
|
+
@license
|
4
|
+
handlebars v4.1.0
|
4
5
|
|
5
|
-
Copyright (C) 2011-
|
6
|
+
Copyright (C) 2011-2017 by Yehuda Katz
|
6
7
|
|
7
8
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
9
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -22,7 +23,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
23
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
23
24
|
THE SOFTWARE.
|
24
25
|
|
25
|
-
@license
|
26
26
|
*/
|
27
27
|
(function webpackUniversalModuleDefinition(root, factory) {
|
28
28
|
if(typeof exports === 'object' && typeof module === 'object')
|
@@ -78,7 +78,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
78
78
|
/************************************************************************/
|
79
79
|
/******/ ([
|
80
80
|
/* 0 */
|
81
|
-
/***/ function(module, exports, __webpack_require__) {
|
81
|
+
/***/ (function(module, exports, __webpack_require__) {
|
82
82
|
|
83
83
|
'use strict';
|
84
84
|
|
@@ -92,23 +92,23 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
92
92
|
|
93
93
|
// Compiler imports
|
94
94
|
|
95
|
-
var _handlebarsCompilerAst = __webpack_require__(
|
95
|
+
var _handlebarsCompilerAst = __webpack_require__(35);
|
96
96
|
|
97
97
|
var _handlebarsCompilerAst2 = _interopRequireDefault(_handlebarsCompilerAst);
|
98
98
|
|
99
|
-
var _handlebarsCompilerBase = __webpack_require__(
|
99
|
+
var _handlebarsCompilerBase = __webpack_require__(36);
|
100
100
|
|
101
|
-
var _handlebarsCompilerCompiler = __webpack_require__(
|
101
|
+
var _handlebarsCompilerCompiler = __webpack_require__(41);
|
102
102
|
|
103
|
-
var _handlebarsCompilerJavascriptCompiler = __webpack_require__(
|
103
|
+
var _handlebarsCompilerJavascriptCompiler = __webpack_require__(42);
|
104
104
|
|
105
105
|
var _handlebarsCompilerJavascriptCompiler2 = _interopRequireDefault(_handlebarsCompilerJavascriptCompiler);
|
106
106
|
|
107
|
-
var _handlebarsCompilerVisitor = __webpack_require__(
|
107
|
+
var _handlebarsCompilerVisitor = __webpack_require__(39);
|
108
108
|
|
109
109
|
var _handlebarsCompilerVisitor2 = _interopRequireDefault(_handlebarsCompilerVisitor);
|
110
110
|
|
111
|
-
var _handlebarsNoConflict = __webpack_require__(
|
111
|
+
var _handlebarsNoConflict = __webpack_require__(34);
|
112
112
|
|
113
113
|
var _handlebarsNoConflict2 = _interopRequireDefault(_handlebarsNoConflict);
|
114
114
|
|
@@ -144,9 +144,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
144
144
|
exports['default'] = inst;
|
145
145
|
module.exports = exports['default'];
|
146
146
|
|
147
|
-
/***/ },
|
147
|
+
/***/ }),
|
148
148
|
/* 1 */
|
149
|
-
/***/ function(module, exports) {
|
149
|
+
/***/ (function(module, exports) {
|
150
150
|
|
151
151
|
"use strict";
|
152
152
|
|
@@ -158,9 +158,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
158
158
|
|
159
159
|
exports.__esModule = true;
|
160
160
|
|
161
|
-
/***/ },
|
161
|
+
/***/ }),
|
162
162
|
/* 2 */
|
163
|
-
/***/ function(module, exports, __webpack_require__) {
|
163
|
+
/***/ (function(module, exports, __webpack_require__) {
|
164
164
|
|
165
165
|
'use strict';
|
166
166
|
|
@@ -177,7 +177,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
177
177
|
// Each of these augment the Handlebars object. No need to setup here.
|
178
178
|
// (This is done to easily share code between commonjs and browse envs)
|
179
179
|
|
180
|
-
var _handlebarsSafeString = __webpack_require__(
|
180
|
+
var _handlebarsSafeString = __webpack_require__(21);
|
181
181
|
|
182
182
|
var _handlebarsSafeString2 = _interopRequireDefault(_handlebarsSafeString);
|
183
183
|
|
@@ -189,11 +189,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
189
189
|
|
190
190
|
var Utils = _interopRequireWildcard(_handlebarsUtils);
|
191
191
|
|
192
|
-
var _handlebarsRuntime = __webpack_require__(
|
192
|
+
var _handlebarsRuntime = __webpack_require__(22);
|
193
193
|
|
194
194
|
var runtime = _interopRequireWildcard(_handlebarsRuntime);
|
195
195
|
|
196
|
-
var _handlebarsNoConflict = __webpack_require__(
|
196
|
+
var _handlebarsNoConflict = __webpack_require__(34);
|
197
197
|
|
198
198
|
var _handlebarsNoConflict2 = _interopRequireDefault(_handlebarsNoConflict);
|
199
199
|
|
@@ -225,9 +225,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
225
225
|
exports['default'] = inst;
|
226
226
|
module.exports = exports['default'];
|
227
227
|
|
228
|
-
/***/ },
|
228
|
+
/***/ }),
|
229
229
|
/* 3 */
|
230
|
-
/***/ function(module, exports) {
|
230
|
+
/***/ (function(module, exports) {
|
231
231
|
|
232
232
|
"use strict";
|
233
233
|
|
@@ -250,9 +250,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
250
250
|
|
251
251
|
exports.__esModule = true;
|
252
252
|
|
253
|
-
/***/ },
|
253
|
+
/***/ }),
|
254
254
|
/* 4 */
|
255
|
-
/***/ function(module, exports, __webpack_require__) {
|
255
|
+
/***/ (function(module, exports, __webpack_require__) {
|
256
256
|
|
257
257
|
'use strict';
|
258
258
|
|
@@ -267,15 +267,15 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
267
267
|
|
268
268
|
var _exception2 = _interopRequireDefault(_exception);
|
269
269
|
|
270
|
-
var _helpers = __webpack_require__(
|
270
|
+
var _helpers = __webpack_require__(10);
|
271
271
|
|
272
|
-
var _decorators = __webpack_require__(
|
272
|
+
var _decorators = __webpack_require__(18);
|
273
273
|
|
274
|
-
var _logger = __webpack_require__(
|
274
|
+
var _logger = __webpack_require__(20);
|
275
275
|
|
276
276
|
var _logger2 = _interopRequireDefault(_logger);
|
277
277
|
|
278
|
-
var VERSION = '4.0
|
278
|
+
var VERSION = '4.1.0';
|
279
279
|
exports.VERSION = VERSION;
|
280
280
|
var COMPILER_REVISION = 7;
|
281
281
|
|
@@ -357,9 +357,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
357
357
|
exports.createFrame = _utils.createFrame;
|
358
358
|
exports.logger = _logger2['default'];
|
359
359
|
|
360
|
-
/***/ },
|
360
|
+
/***/ }),
|
361
361
|
/* 5 */
|
362
|
-
/***/ function(module, exports) {
|
362
|
+
/***/ (function(module, exports) {
|
363
363
|
|
364
364
|
'use strict';
|
365
365
|
|
@@ -485,12 +485,14 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
485
485
|
return (contextPath ? contextPath + '.' : '') + id;
|
486
486
|
}
|
487
487
|
|
488
|
-
/***/ },
|
488
|
+
/***/ }),
|
489
489
|
/* 6 */
|
490
|
-
/***/ function(module, exports) {
|
490
|
+
/***/ (function(module, exports, __webpack_require__) {
|
491
491
|
|
492
492
|
'use strict';
|
493
493
|
|
494
|
+
var _Object$defineProperty = __webpack_require__(7)['default'];
|
495
|
+
|
494
496
|
exports.__esModule = true;
|
495
497
|
|
496
498
|
var errorProps = ['description', 'fileName', 'lineNumber', 'message', 'name', 'number', 'stack'];
|
@@ -518,9 +520,23 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
518
520
|
Error.captureStackTrace(this, Exception);
|
519
521
|
}
|
520
522
|
|
521
|
-
|
522
|
-
|
523
|
-
|
523
|
+
try {
|
524
|
+
if (loc) {
|
525
|
+
this.lineNumber = line;
|
526
|
+
|
527
|
+
// Work around issue under safari where we can't directly set the column value
|
528
|
+
/* istanbul ignore next */
|
529
|
+
if (_Object$defineProperty) {
|
530
|
+
Object.defineProperty(this, 'column', {
|
531
|
+
value: column,
|
532
|
+
enumerable: true
|
533
|
+
});
|
534
|
+
} else {
|
535
|
+
this.column = column;
|
536
|
+
}
|
537
|
+
}
|
538
|
+
} catch (nop) {
|
539
|
+
/* Ignore if the browser is very particular */
|
524
540
|
}
|
525
541
|
}
|
526
542
|
|
@@ -529,9 +545,42 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
529
545
|
exports['default'] = Exception;
|
530
546
|
module.exports = exports['default'];
|
531
547
|
|
532
|
-
/***/ },
|
548
|
+
/***/ }),
|
533
549
|
/* 7 */
|
534
|
-
/***/ function(module, exports, __webpack_require__) {
|
550
|
+
/***/ (function(module, exports, __webpack_require__) {
|
551
|
+
|
552
|
+
module.exports = { "default": __webpack_require__(8), __esModule: true };
|
553
|
+
|
554
|
+
/***/ }),
|
555
|
+
/* 8 */
|
556
|
+
/***/ (function(module, exports, __webpack_require__) {
|
557
|
+
|
558
|
+
var $ = __webpack_require__(9);
|
559
|
+
module.exports = function defineProperty(it, key, desc){
|
560
|
+
return $.setDesc(it, key, desc);
|
561
|
+
};
|
562
|
+
|
563
|
+
/***/ }),
|
564
|
+
/* 9 */
|
565
|
+
/***/ (function(module, exports) {
|
566
|
+
|
567
|
+
var $Object = Object;
|
568
|
+
module.exports = {
|
569
|
+
create: $Object.create,
|
570
|
+
getProto: $Object.getPrototypeOf,
|
571
|
+
isEnum: {}.propertyIsEnumerable,
|
572
|
+
getDesc: $Object.getOwnPropertyDescriptor,
|
573
|
+
setDesc: $Object.defineProperty,
|
574
|
+
setDescs: $Object.defineProperties,
|
575
|
+
getKeys: $Object.keys,
|
576
|
+
getNames: $Object.getOwnPropertyNames,
|
577
|
+
getSymbols: $Object.getOwnPropertySymbols,
|
578
|
+
each: [].forEach
|
579
|
+
};
|
580
|
+
|
581
|
+
/***/ }),
|
582
|
+
/* 10 */
|
583
|
+
/***/ (function(module, exports, __webpack_require__) {
|
535
584
|
|
536
585
|
'use strict';
|
537
586
|
|
@@ -540,31 +589,31 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
540
589
|
exports.__esModule = true;
|
541
590
|
exports.registerDefaultHelpers = registerDefaultHelpers;
|
542
591
|
|
543
|
-
var _helpersBlockHelperMissing = __webpack_require__(
|
592
|
+
var _helpersBlockHelperMissing = __webpack_require__(11);
|
544
593
|
|
545
594
|
var _helpersBlockHelperMissing2 = _interopRequireDefault(_helpersBlockHelperMissing);
|
546
595
|
|
547
|
-
var _helpersEach = __webpack_require__(
|
596
|
+
var _helpersEach = __webpack_require__(12);
|
548
597
|
|
549
598
|
var _helpersEach2 = _interopRequireDefault(_helpersEach);
|
550
599
|
|
551
|
-
var _helpersHelperMissing = __webpack_require__(
|
600
|
+
var _helpersHelperMissing = __webpack_require__(13);
|
552
601
|
|
553
602
|
var _helpersHelperMissing2 = _interopRequireDefault(_helpersHelperMissing);
|
554
603
|
|
555
|
-
var _helpersIf = __webpack_require__(
|
604
|
+
var _helpersIf = __webpack_require__(14);
|
556
605
|
|
557
606
|
var _helpersIf2 = _interopRequireDefault(_helpersIf);
|
558
607
|
|
559
|
-
var _helpersLog = __webpack_require__(
|
608
|
+
var _helpersLog = __webpack_require__(15);
|
560
609
|
|
561
610
|
var _helpersLog2 = _interopRequireDefault(_helpersLog);
|
562
611
|
|
563
|
-
var _helpersLookup = __webpack_require__(
|
612
|
+
var _helpersLookup = __webpack_require__(16);
|
564
613
|
|
565
614
|
var _helpersLookup2 = _interopRequireDefault(_helpersLookup);
|
566
615
|
|
567
|
-
var _helpersWith = __webpack_require__(
|
616
|
+
var _helpersWith = __webpack_require__(17);
|
568
617
|
|
569
618
|
var _helpersWith2 = _interopRequireDefault(_helpersWith);
|
570
619
|
|
@@ -578,9 +627,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
578
627
|
_helpersWith2['default'](instance);
|
579
628
|
}
|
580
629
|
|
581
|
-
/***/ },
|
582
|
-
/*
|
583
|
-
/***/ function(module, exports, __webpack_require__) {
|
630
|
+
/***/ }),
|
631
|
+
/* 11 */
|
632
|
+
/***/ (function(module, exports, __webpack_require__) {
|
584
633
|
|
585
634
|
'use strict';
|
586
635
|
|
@@ -621,9 +670,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
621
670
|
|
622
671
|
module.exports = exports['default'];
|
623
672
|
|
624
|
-
/***/ },
|
625
|
-
/*
|
626
|
-
/***/ function(module, exports, __webpack_require__) {
|
673
|
+
/***/ }),
|
674
|
+
/* 12 */
|
675
|
+
/***/ (function(module, exports, __webpack_require__) {
|
627
676
|
|
628
677
|
'use strict';
|
629
678
|
|
@@ -718,9 +767,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
718
767
|
|
719
768
|
module.exports = exports['default'];
|
720
769
|
|
721
|
-
/***/ },
|
722
|
-
/*
|
723
|
-
/***/ function(module, exports, __webpack_require__) {
|
770
|
+
/***/ }),
|
771
|
+
/* 13 */
|
772
|
+
/***/ (function(module, exports, __webpack_require__) {
|
724
773
|
|
725
774
|
'use strict';
|
726
775
|
|
@@ -746,9 +795,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
746
795
|
|
747
796
|
module.exports = exports['default'];
|
748
797
|
|
749
|
-
/***/ },
|
750
|
-
/*
|
751
|
-
/***/ function(module, exports, __webpack_require__) {
|
798
|
+
/***/ }),
|
799
|
+
/* 14 */
|
800
|
+
/***/ (function(module, exports, __webpack_require__) {
|
752
801
|
|
753
802
|
'use strict';
|
754
803
|
|
@@ -779,9 +828,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
779
828
|
|
780
829
|
module.exports = exports['default'];
|
781
830
|
|
782
|
-
/***/ },
|
783
|
-
/*
|
784
|
-
/***/ function(module, exports) {
|
831
|
+
/***/ }),
|
832
|
+
/* 15 */
|
833
|
+
/***/ (function(module, exports) {
|
785
834
|
|
786
835
|
'use strict';
|
787
836
|
|
@@ -809,9 +858,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
809
858
|
|
810
859
|
module.exports = exports['default'];
|
811
860
|
|
812
|
-
/***/ },
|
813
|
-
/*
|
814
|
-
/***/ function(module, exports) {
|
861
|
+
/***/ }),
|
862
|
+
/* 16 */
|
863
|
+
/***/ (function(module, exports) {
|
815
864
|
|
816
865
|
'use strict';
|
817
866
|
|
@@ -825,9 +874,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
825
874
|
|
826
875
|
module.exports = exports['default'];
|
827
876
|
|
828
|
-
/***/ },
|
829
|
-
/*
|
830
|
-
/***/ function(module, exports, __webpack_require__) {
|
877
|
+
/***/ }),
|
878
|
+
/* 17 */
|
879
|
+
/***/ (function(module, exports, __webpack_require__) {
|
831
880
|
|
832
881
|
'use strict';
|
833
882
|
|
@@ -862,9 +911,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
862
911
|
|
863
912
|
module.exports = exports['default'];
|
864
913
|
|
865
|
-
/***/ },
|
866
|
-
/*
|
867
|
-
/***/ function(module, exports, __webpack_require__) {
|
914
|
+
/***/ }),
|
915
|
+
/* 18 */
|
916
|
+
/***/ (function(module, exports, __webpack_require__) {
|
868
917
|
|
869
918
|
'use strict';
|
870
919
|
|
@@ -873,7 +922,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
873
922
|
exports.__esModule = true;
|
874
923
|
exports.registerDefaultDecorators = registerDefaultDecorators;
|
875
924
|
|
876
|
-
var _decoratorsInline = __webpack_require__(
|
925
|
+
var _decoratorsInline = __webpack_require__(19);
|
877
926
|
|
878
927
|
var _decoratorsInline2 = _interopRequireDefault(_decoratorsInline);
|
879
928
|
|
@@ -881,9 +930,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
881
930
|
_decoratorsInline2['default'](instance);
|
882
931
|
}
|
883
932
|
|
884
|
-
/***/ },
|
885
|
-
/*
|
886
|
-
/***/ function(module, exports, __webpack_require__) {
|
933
|
+
/***/ }),
|
934
|
+
/* 19 */
|
935
|
+
/***/ (function(module, exports, __webpack_require__) {
|
887
936
|
|
888
937
|
'use strict';
|
889
938
|
|
@@ -914,9 +963,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
914
963
|
|
915
964
|
module.exports = exports['default'];
|
916
965
|
|
917
|
-
/***/ },
|
918
|
-
/*
|
919
|
-
/***/ function(module, exports, __webpack_require__) {
|
966
|
+
/***/ }),
|
967
|
+
/* 20 */
|
968
|
+
/***/ (function(module, exports, __webpack_require__) {
|
920
969
|
|
921
970
|
'use strict';
|
922
971
|
|
@@ -965,9 +1014,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
965
1014
|
exports['default'] = logger;
|
966
1015
|
module.exports = exports['default'];
|
967
1016
|
|
968
|
-
/***/ },
|
969
|
-
/*
|
970
|
-
/***/ function(module, exports) {
|
1017
|
+
/***/ }),
|
1018
|
+
/* 21 */
|
1019
|
+
/***/ (function(module, exports) {
|
971
1020
|
|
972
1021
|
// Build out our basic SafeString type
|
973
1022
|
'use strict';
|
@@ -984,12 +1033,14 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
984
1033
|
exports['default'] = SafeString;
|
985
1034
|
module.exports = exports['default'];
|
986
1035
|
|
987
|
-
/***/ },
|
988
|
-
/*
|
989
|
-
/***/ function(module, exports, __webpack_require__) {
|
1036
|
+
/***/ }),
|
1037
|
+
/* 22 */
|
1038
|
+
/***/ (function(module, exports, __webpack_require__) {
|
990
1039
|
|
991
1040
|
'use strict';
|
992
1041
|
|
1042
|
+
var _Object$seal = __webpack_require__(23)['default'];
|
1043
|
+
|
993
1044
|
var _interopRequireWildcard = __webpack_require__(3)['default'];
|
994
1045
|
|
995
1046
|
var _interopRequireDefault = __webpack_require__(1)['default'];
|
@@ -1132,6 +1183,8 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1132
1183
|
|
1133
1184
|
return obj;
|
1134
1185
|
},
|
1186
|
+
// An empty object to use as replacement for null-contexts
|
1187
|
+
nullContext: _Object$seal({}),
|
1135
1188
|
|
1136
1189
|
noop: env.VM.noop,
|
1137
1190
|
compilerInfo: templateSpec.compiler
|
@@ -1150,7 +1203,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1150
1203
|
blockParams = templateSpec.useBlockParams ? [] : undefined;
|
1151
1204
|
if (templateSpec.useDepths) {
|
1152
1205
|
if (options.depths) {
|
1153
|
-
depths = context
|
1206
|
+
depths = context != options.depths[0] ? [context].concat(options.depths) : options.depths;
|
1154
1207
|
} else {
|
1155
1208
|
depths = [context];
|
1156
1209
|
}
|
@@ -1199,7 +1252,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1199
1252
|
var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
|
1200
1253
|
|
1201
1254
|
var currentDepths = depths;
|
1202
|
-
if (depths && context
|
1255
|
+
if (depths && context != depths[0] && !(context === container.nullContext && depths[0] === null)) {
|
1203
1256
|
currentDepths = [context].concat(depths);
|
1204
1257
|
}
|
1205
1258
|
|
@@ -1230,6 +1283,8 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1230
1283
|
}
|
1231
1284
|
|
1232
1285
|
function invokePartial(partial, context, options) {
|
1286
|
+
// Use the current closure context to save the partial-block if this partial
|
1287
|
+
var currentPartialBlock = options.data && options.data['partial-block'];
|
1233
1288
|
options.partial = true;
|
1234
1289
|
if (options.ids) {
|
1235
1290
|
options.data.contextPath = options.ids[0] || options.data.contextPath;
|
@@ -1237,12 +1292,23 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1237
1292
|
|
1238
1293
|
var partialBlock = undefined;
|
1239
1294
|
if (options.fn && options.fn !== noop) {
|
1240
|
-
|
1241
|
-
|
1242
|
-
|
1243
|
-
|
1244
|
-
options.
|
1245
|
-
|
1295
|
+
(function () {
|
1296
|
+
options.data = _base.createFrame(options.data);
|
1297
|
+
// Wrapper function to get access to currentPartialBlock from the closure
|
1298
|
+
var fn = options.fn;
|
1299
|
+
partialBlock = options.data['partial-block'] = function partialBlockWrapper(context) {
|
1300
|
+
var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
|
1301
|
+
|
1302
|
+
// Restore the partial-block from the closure for the execution of the block
|
1303
|
+
// i.e. the part inside the block of the partial call.
|
1304
|
+
options.data = _base.createFrame(options.data);
|
1305
|
+
options.data['partial-block'] = currentPartialBlock;
|
1306
|
+
return fn(context, options);
|
1307
|
+
};
|
1308
|
+
if (fn.partials) {
|
1309
|
+
options.partials = Utils.extend({}, options.partials, fn.partials);
|
1310
|
+
}
|
1311
|
+
})();
|
1246
1312
|
}
|
1247
1313
|
|
1248
1314
|
if (partial === undefined && partialBlock) {
|
@@ -1277,9 +1343,171 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1277
1343
|
return prog;
|
1278
1344
|
}
|
1279
1345
|
|
1280
|
-
/***/ },
|
1281
|
-
/*
|
1282
|
-
/***/ function(module, exports) {
|
1346
|
+
/***/ }),
|
1347
|
+
/* 23 */
|
1348
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1349
|
+
|
1350
|
+
module.exports = { "default": __webpack_require__(24), __esModule: true };
|
1351
|
+
|
1352
|
+
/***/ }),
|
1353
|
+
/* 24 */
|
1354
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1355
|
+
|
1356
|
+
__webpack_require__(25);
|
1357
|
+
module.exports = __webpack_require__(30).Object.seal;
|
1358
|
+
|
1359
|
+
/***/ }),
|
1360
|
+
/* 25 */
|
1361
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1362
|
+
|
1363
|
+
// 19.1.2.17 Object.seal(O)
|
1364
|
+
var isObject = __webpack_require__(26);
|
1365
|
+
|
1366
|
+
__webpack_require__(27)('seal', function($seal){
|
1367
|
+
return function seal(it){
|
1368
|
+
return $seal && isObject(it) ? $seal(it) : it;
|
1369
|
+
};
|
1370
|
+
});
|
1371
|
+
|
1372
|
+
/***/ }),
|
1373
|
+
/* 26 */
|
1374
|
+
/***/ (function(module, exports) {
|
1375
|
+
|
1376
|
+
module.exports = function(it){
|
1377
|
+
return typeof it === 'object' ? it !== null : typeof it === 'function';
|
1378
|
+
};
|
1379
|
+
|
1380
|
+
/***/ }),
|
1381
|
+
/* 27 */
|
1382
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1383
|
+
|
1384
|
+
// most Object methods by ES6 should accept primitives
|
1385
|
+
var $export = __webpack_require__(28)
|
1386
|
+
, core = __webpack_require__(30)
|
1387
|
+
, fails = __webpack_require__(33);
|
1388
|
+
module.exports = function(KEY, exec){
|
1389
|
+
var fn = (core.Object || {})[KEY] || Object[KEY]
|
1390
|
+
, exp = {};
|
1391
|
+
exp[KEY] = exec(fn);
|
1392
|
+
$export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);
|
1393
|
+
};
|
1394
|
+
|
1395
|
+
/***/ }),
|
1396
|
+
/* 28 */
|
1397
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1398
|
+
|
1399
|
+
var global = __webpack_require__(29)
|
1400
|
+
, core = __webpack_require__(30)
|
1401
|
+
, ctx = __webpack_require__(31)
|
1402
|
+
, PROTOTYPE = 'prototype';
|
1403
|
+
|
1404
|
+
var $export = function(type, name, source){
|
1405
|
+
var IS_FORCED = type & $export.F
|
1406
|
+
, IS_GLOBAL = type & $export.G
|
1407
|
+
, IS_STATIC = type & $export.S
|
1408
|
+
, IS_PROTO = type & $export.P
|
1409
|
+
, IS_BIND = type & $export.B
|
1410
|
+
, IS_WRAP = type & $export.W
|
1411
|
+
, exports = IS_GLOBAL ? core : core[name] || (core[name] = {})
|
1412
|
+
, target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]
|
1413
|
+
, key, own, out;
|
1414
|
+
if(IS_GLOBAL)source = name;
|
1415
|
+
for(key in source){
|
1416
|
+
// contains in native
|
1417
|
+
own = !IS_FORCED && target && key in target;
|
1418
|
+
if(own && key in exports)continue;
|
1419
|
+
// export native or passed
|
1420
|
+
out = own ? target[key] : source[key];
|
1421
|
+
// prevent global pollution for namespaces
|
1422
|
+
exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
|
1423
|
+
// bind timers to global for call from export context
|
1424
|
+
: IS_BIND && own ? ctx(out, global)
|
1425
|
+
// wrap global constructors for prevent change them in library
|
1426
|
+
: IS_WRAP && target[key] == out ? (function(C){
|
1427
|
+
var F = function(param){
|
1428
|
+
return this instanceof C ? new C(param) : C(param);
|
1429
|
+
};
|
1430
|
+
F[PROTOTYPE] = C[PROTOTYPE];
|
1431
|
+
return F;
|
1432
|
+
// make static versions for prototype methods
|
1433
|
+
})(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
|
1434
|
+
if(IS_PROTO)(exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out;
|
1435
|
+
}
|
1436
|
+
};
|
1437
|
+
// type bitmap
|
1438
|
+
$export.F = 1; // forced
|
1439
|
+
$export.G = 2; // global
|
1440
|
+
$export.S = 4; // static
|
1441
|
+
$export.P = 8; // proto
|
1442
|
+
$export.B = 16; // bind
|
1443
|
+
$export.W = 32; // wrap
|
1444
|
+
module.exports = $export;
|
1445
|
+
|
1446
|
+
/***/ }),
|
1447
|
+
/* 29 */
|
1448
|
+
/***/ (function(module, exports) {
|
1449
|
+
|
1450
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
1451
|
+
var global = module.exports = typeof window != 'undefined' && window.Math == Math
|
1452
|
+
? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
|
1453
|
+
if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
|
1454
|
+
|
1455
|
+
/***/ }),
|
1456
|
+
/* 30 */
|
1457
|
+
/***/ (function(module, exports) {
|
1458
|
+
|
1459
|
+
var core = module.exports = {version: '1.2.6'};
|
1460
|
+
if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
|
1461
|
+
|
1462
|
+
/***/ }),
|
1463
|
+
/* 31 */
|
1464
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1465
|
+
|
1466
|
+
// optional / simple context binding
|
1467
|
+
var aFunction = __webpack_require__(32);
|
1468
|
+
module.exports = function(fn, that, length){
|
1469
|
+
aFunction(fn);
|
1470
|
+
if(that === undefined)return fn;
|
1471
|
+
switch(length){
|
1472
|
+
case 1: return function(a){
|
1473
|
+
return fn.call(that, a);
|
1474
|
+
};
|
1475
|
+
case 2: return function(a, b){
|
1476
|
+
return fn.call(that, a, b);
|
1477
|
+
};
|
1478
|
+
case 3: return function(a, b, c){
|
1479
|
+
return fn.call(that, a, b, c);
|
1480
|
+
};
|
1481
|
+
}
|
1482
|
+
return function(/* ...args */){
|
1483
|
+
return fn.apply(that, arguments);
|
1484
|
+
};
|
1485
|
+
};
|
1486
|
+
|
1487
|
+
/***/ }),
|
1488
|
+
/* 32 */
|
1489
|
+
/***/ (function(module, exports) {
|
1490
|
+
|
1491
|
+
module.exports = function(it){
|
1492
|
+
if(typeof it != 'function')throw TypeError(it + ' is not a function!');
|
1493
|
+
return it;
|
1494
|
+
};
|
1495
|
+
|
1496
|
+
/***/ }),
|
1497
|
+
/* 33 */
|
1498
|
+
/***/ (function(module, exports) {
|
1499
|
+
|
1500
|
+
module.exports = function(exec){
|
1501
|
+
try {
|
1502
|
+
return !!exec();
|
1503
|
+
} catch(e){
|
1504
|
+
return true;
|
1505
|
+
}
|
1506
|
+
};
|
1507
|
+
|
1508
|
+
/***/ }),
|
1509
|
+
/* 34 */
|
1510
|
+
/***/ (function(module, exports) {
|
1283
1511
|
|
1284
1512
|
/* WEBPACK VAR INJECTION */(function(global) {/* global window */
|
1285
1513
|
'use strict';
|
@@ -1302,9 +1530,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1302
1530
|
module.exports = exports['default'];
|
1303
1531
|
/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
|
1304
1532
|
|
1305
|
-
/***/ },
|
1306
|
-
/*
|
1307
|
-
/***/ function(module, exports) {
|
1533
|
+
/***/ }),
|
1534
|
+
/* 35 */
|
1535
|
+
/***/ (function(module, exports) {
|
1308
1536
|
|
1309
1537
|
'use strict';
|
1310
1538
|
|
@@ -1337,9 +1565,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1337
1565
|
exports['default'] = AST;
|
1338
1566
|
module.exports = exports['default'];
|
1339
1567
|
|
1340
|
-
/***/ },
|
1341
|
-
/*
|
1342
|
-
/***/ function(module, exports, __webpack_require__) {
|
1568
|
+
/***/ }),
|
1569
|
+
/* 36 */
|
1570
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1343
1571
|
|
1344
1572
|
'use strict';
|
1345
1573
|
|
@@ -1350,15 +1578,15 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1350
1578
|
exports.__esModule = true;
|
1351
1579
|
exports.parse = parse;
|
1352
1580
|
|
1353
|
-
var _parser = __webpack_require__(
|
1581
|
+
var _parser = __webpack_require__(37);
|
1354
1582
|
|
1355
1583
|
var _parser2 = _interopRequireDefault(_parser);
|
1356
1584
|
|
1357
|
-
var _whitespaceControl = __webpack_require__(
|
1585
|
+
var _whitespaceControl = __webpack_require__(38);
|
1358
1586
|
|
1359
1587
|
var _whitespaceControl2 = _interopRequireDefault(_whitespaceControl);
|
1360
1588
|
|
1361
|
-
var _helpers = __webpack_require__(
|
1589
|
+
var _helpers = __webpack_require__(40);
|
1362
1590
|
|
1363
1591
|
var Helpers = _interopRequireWildcard(_helpers);
|
1364
1592
|
|
@@ -1386,22 +1614,22 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1386
1614
|
return strip.accept(_parser2['default'].parse(input));
|
1387
1615
|
}
|
1388
1616
|
|
1389
|
-
/***/ },
|
1390
|
-
/*
|
1391
|
-
/***/ function(module, exports) {
|
1617
|
+
/***/ }),
|
1618
|
+
/* 37 */
|
1619
|
+
/***/ (function(module, exports) {
|
1392
1620
|
|
1393
|
-
|
1621
|
+
// File ignored in coverage tests via setting in .istanbul.yml
|
1394
1622
|
/* Jison generated parser */
|
1395
1623
|
"use strict";
|
1396
1624
|
|
1625
|
+
exports.__esModule = true;
|
1397
1626
|
var handlebars = (function () {
|
1398
1627
|
var parser = { trace: function trace() {},
|
1399
1628
|
yy: {},
|
1400
1629
|
symbols_: { "error": 2, "root": 3, "program": 4, "EOF": 5, "program_repetition0": 6, "statement": 7, "mustache": 8, "block": 9, "rawBlock": 10, "partial": 11, "partialBlock": 12, "content": 13, "COMMENT": 14, "CONTENT": 15, "openRawBlock": 16, "rawBlock_repetition_plus0": 17, "END_RAW_BLOCK": 18, "OPEN_RAW_BLOCK": 19, "helperName": 20, "openRawBlock_repetition0": 21, "openRawBlock_option0": 22, "CLOSE_RAW_BLOCK": 23, "openBlock": 24, "block_option0": 25, "closeBlock": 26, "openInverse": 27, "block_option1": 28, "OPEN_BLOCK": 29, "openBlock_repetition0": 30, "openBlock_option0": 31, "openBlock_option1": 32, "CLOSE": 33, "OPEN_INVERSE": 34, "openInverse_repetition0": 35, "openInverse_option0": 36, "openInverse_option1": 37, "openInverseChain": 38, "OPEN_INVERSE_CHAIN": 39, "openInverseChain_repetition0": 40, "openInverseChain_option0": 41, "openInverseChain_option1": 42, "inverseAndProgram": 43, "INVERSE": 44, "inverseChain": 45, "inverseChain_option0": 46, "OPEN_ENDBLOCK": 47, "OPEN": 48, "mustache_repetition0": 49, "mustache_option0": 50, "OPEN_UNESCAPED": 51, "mustache_repetition1": 52, "mustache_option1": 53, "CLOSE_UNESCAPED": 54, "OPEN_PARTIAL": 55, "partialName": 56, "partial_repetition0": 57, "partial_option0": 58, "openPartialBlock": 59, "OPEN_PARTIAL_BLOCK": 60, "openPartialBlock_repetition0": 61, "openPartialBlock_option0": 62, "param": 63, "sexpr": 64, "OPEN_SEXPR": 65, "sexpr_repetition0": 66, "sexpr_option0": 67, "CLOSE_SEXPR": 68, "hash": 69, "hash_repetition_plus0": 70, "hashSegment": 71, "ID": 72, "EQUALS": 73, "blockParams": 74, "OPEN_BLOCK_PARAMS": 75, "blockParams_repetition_plus0": 76, "CLOSE_BLOCK_PARAMS": 77, "path": 78, "dataName": 79, "STRING": 80, "NUMBER": 81, "BOOLEAN": 82, "UNDEFINED": 83, "NULL": 84, "DATA": 85, "pathSegments": 86, "SEP": 87, "$accept": 0, "$end": 1 },
|
1401
1630
|
terminals_: { 2: "error", 5: "EOF", 14: "COMMENT", 15: "CONTENT", 18: "END_RAW_BLOCK", 19: "OPEN_RAW_BLOCK", 23: "CLOSE_RAW_BLOCK", 29: "OPEN_BLOCK", 33: "CLOSE", 34: "OPEN_INVERSE", 39: "OPEN_INVERSE_CHAIN", 44: "INVERSE", 47: "OPEN_ENDBLOCK", 48: "OPEN", 51: "OPEN_UNESCAPED", 54: "CLOSE_UNESCAPED", 55: "OPEN_PARTIAL", 60: "OPEN_PARTIAL_BLOCK", 65: "OPEN_SEXPR", 68: "CLOSE_SEXPR", 72: "ID", 73: "EQUALS", 75: "OPEN_BLOCK_PARAMS", 77: "CLOSE_BLOCK_PARAMS", 80: "STRING", 81: "NUMBER", 82: "BOOLEAN", 83: "UNDEFINED", 84: "NULL", 85: "DATA", 87: "SEP" },
|
1402
1631
|
productions_: [0, [3, 2], [4, 1], [7, 1], [7, 1], [7, 1], [7, 1], [7, 1], [7, 1], [7, 1], [13, 1], [10, 3], [16, 5], [9, 4], [9, 4], [24, 6], [27, 6], [38, 6], [43, 2], [45, 3], [45, 1], [26, 3], [8, 5], [8, 5], [11, 5], [12, 3], [59, 5], [63, 1], [63, 1], [64, 5], [69, 1], [71, 3], [74, 3], [20, 1], [20, 1], [20, 1], [20, 1], [20, 1], [20, 1], [20, 1], [56, 1], [56, 1], [79, 2], [78, 1], [86, 3], [86, 1], [6, 0], [6, 2], [17, 1], [17, 2], [21, 0], [21, 2], [22, 0], [22, 1], [25, 0], [25, 1], [28, 0], [28, 1], [30, 0], [30, 2], [31, 0], [31, 1], [32, 0], [32, 1], [35, 0], [35, 2], [36, 0], [36, 1], [37, 0], [37, 1], [40, 0], [40, 2], [41, 0], [41, 1], [42, 0], [42, 1], [46, 0], [46, 1], [49, 0], [49, 2], [50, 0], [50, 1], [52, 0], [52, 2], [53, 0], [53, 1], [57, 0], [57, 2], [58, 0], [58, 1], [61, 0], [61, 2], [62, 0], [62, 1], [66, 0], [66, 2], [67, 0], [67, 1], [70, 1], [70, 2], [76, 1], [76, 2]],
|
1403
|
-
performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$
|
1404
|
-
/**/) {
|
1632
|
+
performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
|
1405
1633
|
|
1406
1634
|
var $0 = $$.length - 1;
|
1407
1635
|
switch (yystate) {
|
@@ -1938,8 +2166,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1938
2166
|
this.begin(condition);
|
1939
2167
|
} };
|
1940
2168
|
lexer.options = {};
|
1941
|
-
lexer.performAction = function anonymous(yy, yy_, $avoiding_name_collisions, YY_START
|
1942
|
-
/**/) {
|
2169
|
+
lexer.performAction = function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
|
1943
2170
|
|
1944
2171
|
function strip(start, end) {
|
1945
2172
|
return yy_.yytext = yy_.yytext.substr(start, yy_.yyleng - end);
|
@@ -2116,7 +2343,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2116
2343
|
break;
|
2117
2344
|
}
|
2118
2345
|
};
|
2119
|
-
lexer.rules = [/^(?:[^\x00]*?(?=(\{\{)))/, /^(?:[^\x00]+)/, /^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/, /^(?:\{\{\{\{(?=[
|
2346
|
+
lexer.rules = [/^(?:[^\x00]*?(?=(\{\{)))/, /^(?:[^\x00]+)/, /^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/, /^(?:\{\{\{\{(?=[^\/]))/, /^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/, /^(?:[^\x00]*?(?=(\{\{\{\{)))/, /^(?:[\s\S]*?--(~)?\}\})/, /^(?:\()/, /^(?:\))/, /^(?:\{\{\{\{)/, /^(?:\}\}\}\})/, /^(?:\{\{(~)?>)/, /^(?:\{\{(~)?#>)/, /^(?:\{\{(~)?#\*?)/, /^(?:\{\{(~)?\/)/, /^(?:\{\{(~)?\^\s*(~)?\}\})/, /^(?:\{\{(~)?\s*else\s*(~)?\}\})/, /^(?:\{\{(~)?\^)/, /^(?:\{\{(~)?\s*else\b)/, /^(?:\{\{(~)?\{)/, /^(?:\{\{(~)?&)/, /^(?:\{\{(~)?!--)/, /^(?:\{\{(~)?![\s\S]*?\}\})/, /^(?:\{\{(~)?\*?)/, /^(?:=)/, /^(?:\.\.)/, /^(?:\.(?=([=~}\s\/.)|])))/, /^(?:[\/.])/, /^(?:\s+)/, /^(?:\}(~)?\}\})/, /^(?:(~)?\}\})/, /^(?:"(\\["]|[^"])*")/, /^(?:'(\\[']|[^'])*')/, /^(?:@)/, /^(?:true(?=([~}\s)])))/, /^(?:false(?=([~}\s)])))/, /^(?:undefined(?=([~}\s)])))/, /^(?:null(?=([~}\s)])))/, /^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/, /^(?:as\s+\|)/, /^(?:\|)/, /^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/, /^(?:\[(\\\]|[^\]])*\])/, /^(?:.)/, /^(?:$)/];
|
2120
2347
|
lexer.conditions = { "mu": { "rules": [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44], "inclusive": false }, "emu": { "rules": [2], "inclusive": false }, "com": { "rules": [6], "inclusive": false }, "raw": { "rules": [3, 4, 5], "inclusive": false }, "INITIAL": { "rules": [0, 1, 44], "inclusive": true } };
|
2121
2348
|
return lexer;
|
2122
2349
|
})();
|
@@ -2125,12 +2352,12 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2125
2352
|
this.yy = {};
|
2126
2353
|
}Parser.prototype = parser;parser.Parser = Parser;
|
2127
2354
|
return new Parser();
|
2128
|
-
})();exports
|
2129
|
-
exports[
|
2355
|
+
})();exports["default"] = handlebars;
|
2356
|
+
module.exports = exports["default"];
|
2130
2357
|
|
2131
|
-
/***/ },
|
2132
|
-
/*
|
2133
|
-
/***/ function(module, exports, __webpack_require__) {
|
2358
|
+
/***/ }),
|
2359
|
+
/* 38 */
|
2360
|
+
/***/ (function(module, exports, __webpack_require__) {
|
2134
2361
|
|
2135
2362
|
'use strict';
|
2136
2363
|
|
@@ -2138,7 +2365,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2138
2365
|
|
2139
2366
|
exports.__esModule = true;
|
2140
2367
|
|
2141
|
-
var _visitor = __webpack_require__(
|
2368
|
+
var _visitor = __webpack_require__(39);
|
2142
2369
|
|
2143
2370
|
var _visitor2 = _interopRequireDefault(_visitor);
|
2144
2371
|
|
@@ -2352,9 +2579,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2352
2579
|
exports['default'] = WhitespaceControl;
|
2353
2580
|
module.exports = exports['default'];
|
2354
2581
|
|
2355
|
-
/***/ },
|
2356
|
-
/*
|
2357
|
-
/***/ function(module, exports, __webpack_require__) {
|
2582
|
+
/***/ }),
|
2583
|
+
/* 39 */
|
2584
|
+
/***/ (function(module, exports, __webpack_require__) {
|
2358
2585
|
|
2359
2586
|
'use strict';
|
2360
2587
|
|
@@ -2495,9 +2722,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2495
2722
|
exports['default'] = Visitor;
|
2496
2723
|
module.exports = exports['default'];
|
2497
2724
|
|
2498
|
-
/***/ },
|
2499
|
-
/*
|
2500
|
-
/***/ function(module, exports, __webpack_require__) {
|
2725
|
+
/***/ }),
|
2726
|
+
/* 40 */
|
2727
|
+
/***/ (function(module, exports, __webpack_require__) {
|
2501
2728
|
|
2502
2729
|
'use strict';
|
2503
2730
|
|
@@ -2557,7 +2784,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2557
2784
|
}
|
2558
2785
|
|
2559
2786
|
function stripComment(comment) {
|
2560
|
-
return comment.replace(/^\{\{
|
2787
|
+
return comment.replace(/^\{\{~?!-?-?/, '').replace(/-?-?~?\}\}$/, '');
|
2561
2788
|
}
|
2562
2789
|
|
2563
2790
|
function preparePath(data, parts, loc) {
|
@@ -2565,8 +2792,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2565
2792
|
|
2566
2793
|
var original = data ? '@' : '',
|
2567
2794
|
dig = [],
|
2568
|
-
depth = 0
|
2569
|
-
depthString = '';
|
2795
|
+
depth = 0;
|
2570
2796
|
|
2571
2797
|
for (var i = 0, l = parts.length; i < l; i++) {
|
2572
2798
|
var part = parts[i].part,
|
@@ -2581,7 +2807,6 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2581
2807
|
throw new _exception2['default']('Invalid path: ' + original, { loc: loc });
|
2582
2808
|
} else if (part === '..') {
|
2583
2809
|
depth++;
|
2584
|
-
depthString += '../';
|
2585
2810
|
}
|
2586
2811
|
} else {
|
2587
2812
|
dig.push(part);
|
@@ -2728,9 +2953,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2728
2953
|
};
|
2729
2954
|
}
|
2730
2955
|
|
2731
|
-
/***/ },
|
2732
|
-
/*
|
2733
|
-
/***/ function(module, exports, __webpack_require__) {
|
2956
|
+
/***/ }),
|
2957
|
+
/* 41 */
|
2958
|
+
/***/ (function(module, exports, __webpack_require__) {
|
2734
2959
|
|
2735
2960
|
/* eslint-disable new-cap */
|
2736
2961
|
|
@@ -2749,7 +2974,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2749
2974
|
|
2750
2975
|
var _utils = __webpack_require__(5);
|
2751
2976
|
|
2752
|
-
var _ast = __webpack_require__(
|
2977
|
+
var _ast = __webpack_require__(35);
|
2753
2978
|
|
2754
2979
|
var _ast2 = _interopRequireDefault(_ast);
|
2755
2980
|
|
@@ -2816,11 +3041,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2816
3041
|
'lookup': true
|
2817
3042
|
};
|
2818
3043
|
if (knownHelpers) {
|
3044
|
+
// the next line should use "Object.keys", but the code has been like this a long time and changing it, might
|
3045
|
+
// cause backwards-compatibility issues... It's an old library...
|
3046
|
+
// eslint-disable-next-line guard-for-in
|
2819
3047
|
for (var _name in knownHelpers) {
|
2820
|
-
|
2821
|
-
if (_name in knownHelpers) {
|
2822
|
-
options.knownHelpers[_name] = knownHelpers[_name];
|
2823
|
-
}
|
3048
|
+
this.options.knownHelpers[_name] = knownHelpers[_name];
|
2824
3049
|
}
|
2825
3050
|
}
|
2826
3051
|
|
@@ -3234,6 +3459,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3234
3459
|
throw new _exception2['default']('You must pass a string or Handlebars AST to Handlebars.compile. You passed ' + input);
|
3235
3460
|
}
|
3236
3461
|
|
3462
|
+
options = _utils.extend({}, options);
|
3237
3463
|
if (!('data' in options)) {
|
3238
3464
|
options.data = true;
|
3239
3465
|
}
|
@@ -3303,9 +3529,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3303
3529
|
}
|
3304
3530
|
}
|
3305
3531
|
|
3306
|
-
/***/ },
|
3307
|
-
/*
|
3308
|
-
/***/ function(module, exports, __webpack_require__) {
|
3532
|
+
/***/ }),
|
3533
|
+
/* 42 */
|
3534
|
+
/***/ (function(module, exports, __webpack_require__) {
|
3309
3535
|
|
3310
3536
|
'use strict';
|
3311
3537
|
|
@@ -3321,7 +3547,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3321
3547
|
|
3322
3548
|
var _utils = __webpack_require__(5);
|
3323
3549
|
|
3324
|
-
var _codeGen = __webpack_require__(
|
3550
|
+
var _codeGen = __webpack_require__(43);
|
3325
3551
|
|
3326
3552
|
var _codeGen2 = _interopRequireDefault(_codeGen);
|
3327
3553
|
|
@@ -3335,6 +3561,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3335
3561
|
// PUBLIC API: You can override these methods in a subclass to provide
|
3336
3562
|
// alternative compiled forms for name lookup and buffering semantics
|
3337
3563
|
nameLookup: function nameLookup(parent, name /* , type*/) {
|
3564
|
+
if (name === 'constructor') {
|
3565
|
+
return ['(', parent, '.propertyIsEnumerable(\'constructor\') ? ', parent, '.constructor : undefined', ')'];
|
3566
|
+
}
|
3338
3567
|
if (JavaScriptCompiler.isValidJavaScriptVariableName(name)) {
|
3339
3568
|
return [parent, '.', name];
|
3340
3569
|
} else {
|
@@ -4092,11 +4321,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
4092
4321
|
child = children[i];
|
4093
4322
|
compiler = new this.compiler(); // eslint-disable-line new-cap
|
4094
4323
|
|
4095
|
-
var
|
4324
|
+
var existing = this.matchExistingProgram(child);
|
4096
4325
|
|
4097
|
-
if (
|
4326
|
+
if (existing == null) {
|
4098
4327
|
this.context.programs.push(''); // Placeholder to prevent name conflicts for nested children
|
4099
|
-
index = this.context.programs.length;
|
4328
|
+
var index = this.context.programs.length;
|
4100
4329
|
child.index = index;
|
4101
4330
|
child.name = 'program' + index;
|
4102
4331
|
this.context.programs[index] = compiler.compile(child, options, this.context, !this.precompile);
|
@@ -4105,12 +4334,14 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
4105
4334
|
|
4106
4335
|
this.useDepths = this.useDepths || compiler.useDepths;
|
4107
4336
|
this.useBlockParams = this.useBlockParams || compiler.useBlockParams;
|
4337
|
+
child.useDepths = this.useDepths;
|
4338
|
+
child.useBlockParams = this.useBlockParams;
|
4108
4339
|
} else {
|
4109
|
-
child.index = index;
|
4110
|
-
child.name = 'program' + index;
|
4340
|
+
child.index = existing.index;
|
4341
|
+
child.name = 'program' + existing.index;
|
4111
4342
|
|
4112
|
-
this.useDepths = this.useDepths ||
|
4113
|
-
this.useBlockParams = this.useBlockParams ||
|
4343
|
+
this.useDepths = this.useDepths || existing.useDepths;
|
4344
|
+
this.useBlockParams = this.useBlockParams || existing.useBlockParams;
|
4114
4345
|
}
|
4115
4346
|
}
|
4116
4347
|
},
|
@@ -4118,7 +4349,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
4118
4349
|
for (var i = 0, len = this.context.environments.length; i < len; i++) {
|
4119
4350
|
var environment = this.context.environments[i];
|
4120
4351
|
if (environment && environment.equals(child)) {
|
4121
|
-
return
|
4352
|
+
return environment;
|
4122
4353
|
}
|
4123
4354
|
}
|
4124
4355
|
},
|
@@ -4300,7 +4531,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
4300
4531
|
var params = [],
|
4301
4532
|
paramsInit = this.setupHelperArgs(name, paramSize, params, blockHelper);
|
4302
4533
|
var foundHelper = this.nameLookup('helpers', name, 'helper'),
|
4303
|
-
callContext = this.aliasable(this.contextName(0) + ' != null ? ' + this.contextName(0) + ' : {}');
|
4534
|
+
callContext = this.aliasable(this.contextName(0) + ' != null ? ' + this.contextName(0) + ' : (container.nullContext || {})');
|
4304
4535
|
|
4305
4536
|
return {
|
4306
4537
|
params: params,
|
@@ -4432,9 +4663,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
4432
4663
|
exports['default'] = JavaScriptCompiler;
|
4433
4664
|
module.exports = exports['default'];
|
4434
4665
|
|
4435
|
-
/***/ },
|
4436
|
-
/*
|
4437
|
-
/***/ function(module, exports, __webpack_require__) {
|
4666
|
+
/***/ }),
|
4667
|
+
/* 43 */
|
4668
|
+
/***/ (function(module, exports, __webpack_require__) {
|
4438
4669
|
|
4439
4670
|
/* global define */
|
4440
4671
|
'use strict';
|
@@ -4602,7 +4833,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
4602
4833
|
exports['default'] = CodeGen;
|
4603
4834
|
module.exports = exports['default'];
|
4604
4835
|
|
4605
|
-
/***/ }
|
4836
|
+
/***/ })
|
4606
4837
|
/******/ ])
|
4607
4838
|
});
|
4608
4839
|
;
|