handlebars-source 4.0.6 → 4.0.7
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of handlebars-source might be problematic. Click here for more details.
- checksums.yaml +5 -13
- data/handlebars.js +284 -160
- data/handlebars.runtime.js +238 -115
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
ZWMwZDUwNDNiZjVjYmRlN2U0YTA3OTdmNmRkNWNjNDU3NTdiZDUzNg==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: de9d31d7e789cd29d5f36630d830c47c3c604073
|
4
|
+
data.tar.gz: 4ad1b7f4df03a0ce92434d521aba6b797bf24b92
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
NmJmZGJmZDkyM2MwYzQwYTAzN2ZiNDBmNTUzOTcwMGNiM2RmMzc3MzgwMDVi
|
11
|
-
NDQwYTE2ZDRiMmFlYmZkYmJlNjQ1NDgyZWE3ZjdhYjE0NzhkZTk=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
NGNhNmU3MmQxOWFjODNlMTE5YjMyMGI4OWFkNzRkMDI5ZTE0YWU3NmY0ZGQz
|
14
|
-
N2Y0NjNiODE0MDkxOWQ5MGM0OTY3ZjM4YzlkMTU1YmEyNDNiNWE4ODM1MzVl
|
15
|
-
ZTk5YTAyYWVkNTE3OTI5ZjQxZTc5MzgwZDdkOTAxOWQ4OTQ1NGE=
|
6
|
+
metadata.gz: 4b4f4906c1749642afe10cf7d5466cf2f0c6bbcbf26d1f3532430d3c60ce888798bf9d38632342cbef4f988a67c270914dda17f97357519befe01bbcd46963ee
|
7
|
+
data.tar.gz: 7e8c064c31916cd30ccc68e8ec13939c7617b225719adc3d293135e2230ad6652f4b1c505b64b0c50b3f6f7d2570d91f104ad46ecd7e5641d828815ab5963690
|
data/handlebars.js
CHANGED
@@ -1,59 +1,7 @@
|
|
1
1
|
/**!
|
2
2
|
|
3
3
|
@license
|
4
|
-
handlebars v4.0.
|
5
|
-
|
6
|
-
Copyright (C) 2011-2016 by Yehuda Katz
|
7
|
-
|
8
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
9
|
-
of this software and associated documentation files (the "Software"), to deal
|
10
|
-
in the Software without restriction, including without limitation the rights
|
11
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
12
|
-
copies of the Software, and to permit persons to whom the Software is
|
13
|
-
furnished to do so, subject to the following conditions:
|
14
|
-
|
15
|
-
The above copyright notice and this permission notice shall be included in
|
16
|
-
all copies or substantial portions of the Software.
|
17
|
-
|
18
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
19
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
20
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
21
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
22
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
23
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
24
|
-
THE SOFTWARE.
|
25
|
-
|
26
|
-
*/
|
27
|
-
/**!
|
28
|
-
|
29
|
-
@license
|
30
|
-
handlebars v4.0.6
|
31
|
-
|
32
|
-
Copyright (C) 2011-2016 by Yehuda Katz
|
33
|
-
|
34
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
35
|
-
of this software and associated documentation files (the "Software"), to deal
|
36
|
-
in the Software without restriction, including without limitation the rights
|
37
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
38
|
-
copies of the Software, and to permit persons to whom the Software is
|
39
|
-
furnished to do so, subject to the following conditions:
|
40
|
-
|
41
|
-
The above copyright notice and this permission notice shall be included in
|
42
|
-
all copies or substantial portions of the Software.
|
43
|
-
|
44
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
45
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
46
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
47
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
48
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
49
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
50
|
-
THE SOFTWARE.
|
51
|
-
|
52
|
-
*/
|
53
|
-
/**!
|
54
|
-
|
55
|
-
@license
|
56
|
-
handlebars v4.0.6
|
4
|
+
handlebars v4.0.7
|
57
5
|
|
58
6
|
Copyright (C) 2011-2016 by Yehuda Katz
|
59
7
|
|
@@ -130,7 +78,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
130
78
|
/************************************************************************/
|
131
79
|
/******/ ([
|
132
80
|
/* 0 */
|
133
|
-
/***/ function(module, exports, __webpack_require__) {
|
81
|
+
/***/ (function(module, exports, __webpack_require__) {
|
134
82
|
|
135
83
|
'use strict';
|
136
84
|
|
@@ -144,23 +92,23 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
144
92
|
|
145
93
|
// Compiler imports
|
146
94
|
|
147
|
-
var _handlebarsCompilerAst = __webpack_require__(
|
95
|
+
var _handlebarsCompilerAst = __webpack_require__(35);
|
148
96
|
|
149
97
|
var _handlebarsCompilerAst2 = _interopRequireDefault(_handlebarsCompilerAst);
|
150
98
|
|
151
|
-
var _handlebarsCompilerBase = __webpack_require__(
|
99
|
+
var _handlebarsCompilerBase = __webpack_require__(36);
|
152
100
|
|
153
|
-
var _handlebarsCompilerCompiler = __webpack_require__(
|
101
|
+
var _handlebarsCompilerCompiler = __webpack_require__(41);
|
154
102
|
|
155
|
-
var _handlebarsCompilerJavascriptCompiler = __webpack_require__(
|
103
|
+
var _handlebarsCompilerJavascriptCompiler = __webpack_require__(42);
|
156
104
|
|
157
105
|
var _handlebarsCompilerJavascriptCompiler2 = _interopRequireDefault(_handlebarsCompilerJavascriptCompiler);
|
158
106
|
|
159
|
-
var _handlebarsCompilerVisitor = __webpack_require__(
|
107
|
+
var _handlebarsCompilerVisitor = __webpack_require__(39);
|
160
108
|
|
161
109
|
var _handlebarsCompilerVisitor2 = _interopRequireDefault(_handlebarsCompilerVisitor);
|
162
110
|
|
163
|
-
var _handlebarsNoConflict = __webpack_require__(
|
111
|
+
var _handlebarsNoConflict = __webpack_require__(34);
|
164
112
|
|
165
113
|
var _handlebarsNoConflict2 = _interopRequireDefault(_handlebarsNoConflict);
|
166
114
|
|
@@ -196,9 +144,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
196
144
|
exports['default'] = inst;
|
197
145
|
module.exports = exports['default'];
|
198
146
|
|
199
|
-
/***/ },
|
147
|
+
/***/ }),
|
200
148
|
/* 1 */
|
201
|
-
/***/ function(module, exports) {
|
149
|
+
/***/ (function(module, exports) {
|
202
150
|
|
203
151
|
"use strict";
|
204
152
|
|
@@ -210,9 +158,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
210
158
|
|
211
159
|
exports.__esModule = true;
|
212
160
|
|
213
|
-
/***/ },
|
161
|
+
/***/ }),
|
214
162
|
/* 2 */
|
215
|
-
/***/ function(module, exports, __webpack_require__) {
|
163
|
+
/***/ (function(module, exports, __webpack_require__) {
|
216
164
|
|
217
165
|
'use strict';
|
218
166
|
|
@@ -245,7 +193,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
245
193
|
|
246
194
|
var runtime = _interopRequireWildcard(_handlebarsRuntime);
|
247
195
|
|
248
|
-
var _handlebarsNoConflict = __webpack_require__(
|
196
|
+
var _handlebarsNoConflict = __webpack_require__(34);
|
249
197
|
|
250
198
|
var _handlebarsNoConflict2 = _interopRequireDefault(_handlebarsNoConflict);
|
251
199
|
|
@@ -277,9 +225,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
277
225
|
exports['default'] = inst;
|
278
226
|
module.exports = exports['default'];
|
279
227
|
|
280
|
-
/***/ },
|
228
|
+
/***/ }),
|
281
229
|
/* 3 */
|
282
|
-
/***/ function(module, exports) {
|
230
|
+
/***/ (function(module, exports) {
|
283
231
|
|
284
232
|
"use strict";
|
285
233
|
|
@@ -302,9 +250,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
302
250
|
|
303
251
|
exports.__esModule = true;
|
304
252
|
|
305
|
-
/***/ },
|
253
|
+
/***/ }),
|
306
254
|
/* 4 */
|
307
|
-
/***/ function(module, exports, __webpack_require__) {
|
255
|
+
/***/ (function(module, exports, __webpack_require__) {
|
308
256
|
|
309
257
|
'use strict';
|
310
258
|
|
@@ -327,7 +275,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
327
275
|
|
328
276
|
var _logger2 = _interopRequireDefault(_logger);
|
329
277
|
|
330
|
-
var VERSION = '4.0.
|
278
|
+
var VERSION = '4.0.7';
|
331
279
|
exports.VERSION = VERSION;
|
332
280
|
var COMPILER_REVISION = 7;
|
333
281
|
|
@@ -409,9 +357,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
409
357
|
exports.createFrame = _utils.createFrame;
|
410
358
|
exports.logger = _logger2['default'];
|
411
359
|
|
412
|
-
/***/ },
|
360
|
+
/***/ }),
|
413
361
|
/* 5 */
|
414
|
-
/***/ function(module, exports) {
|
362
|
+
/***/ (function(module, exports) {
|
415
363
|
|
416
364
|
'use strict';
|
417
365
|
|
@@ -537,9 +485,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
537
485
|
return (contextPath ? contextPath + '.' : '') + id;
|
538
486
|
}
|
539
487
|
|
540
|
-
/***/ },
|
488
|
+
/***/ }),
|
541
489
|
/* 6 */
|
542
|
-
/***/ function(module, exports, __webpack_require__) {
|
490
|
+
/***/ (function(module, exports, __webpack_require__) {
|
543
491
|
|
544
492
|
'use strict';
|
545
493
|
|
@@ -579,7 +527,10 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
579
527
|
// Work around issue under safari where we can't directly set the column value
|
580
528
|
/* istanbul ignore next */
|
581
529
|
if (_Object$defineProperty) {
|
582
|
-
Object.defineProperty(this, 'column', {
|
530
|
+
Object.defineProperty(this, 'column', {
|
531
|
+
value: column,
|
532
|
+
enumerable: true
|
533
|
+
});
|
583
534
|
} else {
|
584
535
|
this.column = column;
|
585
536
|
}
|
@@ -594,24 +545,24 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
594
545
|
exports['default'] = Exception;
|
595
546
|
module.exports = exports['default'];
|
596
547
|
|
597
|
-
/***/ },
|
548
|
+
/***/ }),
|
598
549
|
/* 7 */
|
599
|
-
/***/ function(module, exports, __webpack_require__) {
|
550
|
+
/***/ (function(module, exports, __webpack_require__) {
|
600
551
|
|
601
552
|
module.exports = { "default": __webpack_require__(8), __esModule: true };
|
602
553
|
|
603
|
-
/***/ },
|
554
|
+
/***/ }),
|
604
555
|
/* 8 */
|
605
|
-
/***/ function(module, exports, __webpack_require__) {
|
556
|
+
/***/ (function(module, exports, __webpack_require__) {
|
606
557
|
|
607
558
|
var $ = __webpack_require__(9);
|
608
559
|
module.exports = function defineProperty(it, key, desc){
|
609
560
|
return $.setDesc(it, key, desc);
|
610
561
|
};
|
611
562
|
|
612
|
-
/***/ },
|
563
|
+
/***/ }),
|
613
564
|
/* 9 */
|
614
|
-
/***/ function(module, exports) {
|
565
|
+
/***/ (function(module, exports) {
|
615
566
|
|
616
567
|
var $Object = Object;
|
617
568
|
module.exports = {
|
@@ -627,9 +578,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
627
578
|
each: [].forEach
|
628
579
|
};
|
629
580
|
|
630
|
-
/***/ },
|
581
|
+
/***/ }),
|
631
582
|
/* 10 */
|
632
|
-
/***/ function(module, exports, __webpack_require__) {
|
583
|
+
/***/ (function(module, exports, __webpack_require__) {
|
633
584
|
|
634
585
|
'use strict';
|
635
586
|
|
@@ -676,9 +627,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
676
627
|
_helpersWith2['default'](instance);
|
677
628
|
}
|
678
629
|
|
679
|
-
/***/ },
|
630
|
+
/***/ }),
|
680
631
|
/* 11 */
|
681
|
-
/***/ function(module, exports, __webpack_require__) {
|
632
|
+
/***/ (function(module, exports, __webpack_require__) {
|
682
633
|
|
683
634
|
'use strict';
|
684
635
|
|
@@ -719,9 +670,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
719
670
|
|
720
671
|
module.exports = exports['default'];
|
721
672
|
|
722
|
-
/***/ },
|
673
|
+
/***/ }),
|
723
674
|
/* 12 */
|
724
|
-
/***/ function(module, exports, __webpack_require__) {
|
675
|
+
/***/ (function(module, exports, __webpack_require__) {
|
725
676
|
|
726
677
|
'use strict';
|
727
678
|
|
@@ -816,9 +767,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
816
767
|
|
817
768
|
module.exports = exports['default'];
|
818
769
|
|
819
|
-
/***/ },
|
770
|
+
/***/ }),
|
820
771
|
/* 13 */
|
821
|
-
/***/ function(module, exports, __webpack_require__) {
|
772
|
+
/***/ (function(module, exports, __webpack_require__) {
|
822
773
|
|
823
774
|
'use strict';
|
824
775
|
|
@@ -844,9 +795,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
844
795
|
|
845
796
|
module.exports = exports['default'];
|
846
797
|
|
847
|
-
/***/ },
|
798
|
+
/***/ }),
|
848
799
|
/* 14 */
|
849
|
-
/***/ function(module, exports, __webpack_require__) {
|
800
|
+
/***/ (function(module, exports, __webpack_require__) {
|
850
801
|
|
851
802
|
'use strict';
|
852
803
|
|
@@ -877,9 +828,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
877
828
|
|
878
829
|
module.exports = exports['default'];
|
879
830
|
|
880
|
-
/***/ },
|
831
|
+
/***/ }),
|
881
832
|
/* 15 */
|
882
|
-
/***/ function(module, exports) {
|
833
|
+
/***/ (function(module, exports) {
|
883
834
|
|
884
835
|
'use strict';
|
885
836
|
|
@@ -907,9 +858,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
907
858
|
|
908
859
|
module.exports = exports['default'];
|
909
860
|
|
910
|
-
/***/ },
|
861
|
+
/***/ }),
|
911
862
|
/* 16 */
|
912
|
-
/***/ function(module, exports) {
|
863
|
+
/***/ (function(module, exports) {
|
913
864
|
|
914
865
|
'use strict';
|
915
866
|
|
@@ -923,9 +874,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
923
874
|
|
924
875
|
module.exports = exports['default'];
|
925
876
|
|
926
|
-
/***/ },
|
877
|
+
/***/ }),
|
927
878
|
/* 17 */
|
928
|
-
/***/ function(module, exports, __webpack_require__) {
|
879
|
+
/***/ (function(module, exports, __webpack_require__) {
|
929
880
|
|
930
881
|
'use strict';
|
931
882
|
|
@@ -960,9 +911,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
960
911
|
|
961
912
|
module.exports = exports['default'];
|
962
913
|
|
963
|
-
/***/ },
|
914
|
+
/***/ }),
|
964
915
|
/* 18 */
|
965
|
-
/***/ function(module, exports, __webpack_require__) {
|
916
|
+
/***/ (function(module, exports, __webpack_require__) {
|
966
917
|
|
967
918
|
'use strict';
|
968
919
|
|
@@ -979,9 +930,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
979
930
|
_decoratorsInline2['default'](instance);
|
980
931
|
}
|
981
932
|
|
982
|
-
/***/ },
|
933
|
+
/***/ }),
|
983
934
|
/* 19 */
|
984
|
-
/***/ function(module, exports, __webpack_require__) {
|
935
|
+
/***/ (function(module, exports, __webpack_require__) {
|
985
936
|
|
986
937
|
'use strict';
|
987
938
|
|
@@ -1012,9 +963,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1012
963
|
|
1013
964
|
module.exports = exports['default'];
|
1014
965
|
|
1015
|
-
/***/ },
|
966
|
+
/***/ }),
|
1016
967
|
/* 20 */
|
1017
|
-
/***/ function(module, exports, __webpack_require__) {
|
968
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1018
969
|
|
1019
970
|
'use strict';
|
1020
971
|
|
@@ -1063,9 +1014,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1063
1014
|
exports['default'] = logger;
|
1064
1015
|
module.exports = exports['default'];
|
1065
1016
|
|
1066
|
-
/***/ },
|
1017
|
+
/***/ }),
|
1067
1018
|
/* 21 */
|
1068
|
-
/***/ function(module, exports) {
|
1019
|
+
/***/ (function(module, exports) {
|
1069
1020
|
|
1070
1021
|
// Build out our basic SafeString type
|
1071
1022
|
'use strict';
|
@@ -1082,12 +1033,14 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1082
1033
|
exports['default'] = SafeString;
|
1083
1034
|
module.exports = exports['default'];
|
1084
1035
|
|
1085
|
-
/***/ },
|
1036
|
+
/***/ }),
|
1086
1037
|
/* 22 */
|
1087
|
-
/***/ function(module, exports, __webpack_require__) {
|
1038
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1088
1039
|
|
1089
1040
|
'use strict';
|
1090
1041
|
|
1042
|
+
var _Object$seal = __webpack_require__(23)['default'];
|
1043
|
+
|
1091
1044
|
var _interopRequireWildcard = __webpack_require__(3)['default'];
|
1092
1045
|
|
1093
1046
|
var _interopRequireDefault = __webpack_require__(1)['default'];
|
@@ -1230,6 +1183,8 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1230
1183
|
|
1231
1184
|
return obj;
|
1232
1185
|
},
|
1186
|
+
// An empty object to use as replacement for null-contexts
|
1187
|
+
nullContext: _Object$seal({}),
|
1233
1188
|
|
1234
1189
|
noop: env.VM.noop,
|
1235
1190
|
compilerInfo: templateSpec.compiler
|
@@ -1297,7 +1252,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1297
1252
|
var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
|
1298
1253
|
|
1299
1254
|
var currentDepths = depths;
|
1300
|
-
if (depths && context != depths[0]) {
|
1255
|
+
if (depths && context != depths[0] && !(context === container.nullContext && depths[0] === null)) {
|
1301
1256
|
currentDepths = [context].concat(depths);
|
1302
1257
|
}
|
1303
1258
|
|
@@ -1315,12 +1270,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1315
1270
|
function resolvePartial(partial, context, options) {
|
1316
1271
|
if (!partial) {
|
1317
1272
|
if (options.name === '@partial-block') {
|
1318
|
-
|
1319
|
-
while (data['partial-block'] === noop) {
|
1320
|
-
data = data._parent;
|
1321
|
-
}
|
1322
|
-
partial = data['partial-block'];
|
1323
|
-
data['partial-block'] = noop;
|
1273
|
+
partial = options.data['partial-block'];
|
1324
1274
|
} else {
|
1325
1275
|
partial = options.partials[options.name];
|
1326
1276
|
}
|
@@ -1333,6 +1283,8 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1333
1283
|
}
|
1334
1284
|
|
1335
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'];
|
1336
1288
|
options.partial = true;
|
1337
1289
|
if (options.ids) {
|
1338
1290
|
options.data.contextPath = options.ids[0] || options.data.contextPath;
|
@@ -1340,12 +1292,21 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1340
1292
|
|
1341
1293
|
var partialBlock = undefined;
|
1342
1294
|
if (options.fn && options.fn !== noop) {
|
1343
|
-
|
1344
|
-
|
1345
|
-
|
1346
|
-
|
1347
|
-
options.
|
1348
|
-
|
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, options) {
|
1300
|
+
// Restore the partial-block from the closure for the execution of the block
|
1301
|
+
// i.e. the part inside the block of the partial call.
|
1302
|
+
options.data = _base.createFrame(options.data);
|
1303
|
+
options.data['partial-block'] = currentPartialBlock;
|
1304
|
+
return fn(context, options);
|
1305
|
+
};
|
1306
|
+
if (fn.partials) {
|
1307
|
+
options.partials = Utils.extend({}, options.partials, fn.partials);
|
1308
|
+
}
|
1309
|
+
})();
|
1349
1310
|
}
|
1350
1311
|
|
1351
1312
|
if (partial === undefined && partialBlock) {
|
@@ -1380,9 +1341,171 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1380
1341
|
return prog;
|
1381
1342
|
}
|
1382
1343
|
|
1383
|
-
/***/ },
|
1344
|
+
/***/ }),
|
1384
1345
|
/* 23 */
|
1385
|
-
/***/ function(module, exports) {
|
1346
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1347
|
+
|
1348
|
+
module.exports = { "default": __webpack_require__(24), __esModule: true };
|
1349
|
+
|
1350
|
+
/***/ }),
|
1351
|
+
/* 24 */
|
1352
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1353
|
+
|
1354
|
+
__webpack_require__(25);
|
1355
|
+
module.exports = __webpack_require__(30).Object.seal;
|
1356
|
+
|
1357
|
+
/***/ }),
|
1358
|
+
/* 25 */
|
1359
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1360
|
+
|
1361
|
+
// 19.1.2.17 Object.seal(O)
|
1362
|
+
var isObject = __webpack_require__(26);
|
1363
|
+
|
1364
|
+
__webpack_require__(27)('seal', function($seal){
|
1365
|
+
return function seal(it){
|
1366
|
+
return $seal && isObject(it) ? $seal(it) : it;
|
1367
|
+
};
|
1368
|
+
});
|
1369
|
+
|
1370
|
+
/***/ }),
|
1371
|
+
/* 26 */
|
1372
|
+
/***/ (function(module, exports) {
|
1373
|
+
|
1374
|
+
module.exports = function(it){
|
1375
|
+
return typeof it === 'object' ? it !== null : typeof it === 'function';
|
1376
|
+
};
|
1377
|
+
|
1378
|
+
/***/ }),
|
1379
|
+
/* 27 */
|
1380
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1381
|
+
|
1382
|
+
// most Object methods by ES6 should accept primitives
|
1383
|
+
var $export = __webpack_require__(28)
|
1384
|
+
, core = __webpack_require__(30)
|
1385
|
+
, fails = __webpack_require__(33);
|
1386
|
+
module.exports = function(KEY, exec){
|
1387
|
+
var fn = (core.Object || {})[KEY] || Object[KEY]
|
1388
|
+
, exp = {};
|
1389
|
+
exp[KEY] = exec(fn);
|
1390
|
+
$export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);
|
1391
|
+
};
|
1392
|
+
|
1393
|
+
/***/ }),
|
1394
|
+
/* 28 */
|
1395
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1396
|
+
|
1397
|
+
var global = __webpack_require__(29)
|
1398
|
+
, core = __webpack_require__(30)
|
1399
|
+
, ctx = __webpack_require__(31)
|
1400
|
+
, PROTOTYPE = 'prototype';
|
1401
|
+
|
1402
|
+
var $export = function(type, name, source){
|
1403
|
+
var IS_FORCED = type & $export.F
|
1404
|
+
, IS_GLOBAL = type & $export.G
|
1405
|
+
, IS_STATIC = type & $export.S
|
1406
|
+
, IS_PROTO = type & $export.P
|
1407
|
+
, IS_BIND = type & $export.B
|
1408
|
+
, IS_WRAP = type & $export.W
|
1409
|
+
, exports = IS_GLOBAL ? core : core[name] || (core[name] = {})
|
1410
|
+
, target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]
|
1411
|
+
, key, own, out;
|
1412
|
+
if(IS_GLOBAL)source = name;
|
1413
|
+
for(key in source){
|
1414
|
+
// contains in native
|
1415
|
+
own = !IS_FORCED && target && key in target;
|
1416
|
+
if(own && key in exports)continue;
|
1417
|
+
// export native or passed
|
1418
|
+
out = own ? target[key] : source[key];
|
1419
|
+
// prevent global pollution for namespaces
|
1420
|
+
exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
|
1421
|
+
// bind timers to global for call from export context
|
1422
|
+
: IS_BIND && own ? ctx(out, global)
|
1423
|
+
// wrap global constructors for prevent change them in library
|
1424
|
+
: IS_WRAP && target[key] == out ? (function(C){
|
1425
|
+
var F = function(param){
|
1426
|
+
return this instanceof C ? new C(param) : C(param);
|
1427
|
+
};
|
1428
|
+
F[PROTOTYPE] = C[PROTOTYPE];
|
1429
|
+
return F;
|
1430
|
+
// make static versions for prototype methods
|
1431
|
+
})(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
|
1432
|
+
if(IS_PROTO)(exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out;
|
1433
|
+
}
|
1434
|
+
};
|
1435
|
+
// type bitmap
|
1436
|
+
$export.F = 1; // forced
|
1437
|
+
$export.G = 2; // global
|
1438
|
+
$export.S = 4; // static
|
1439
|
+
$export.P = 8; // proto
|
1440
|
+
$export.B = 16; // bind
|
1441
|
+
$export.W = 32; // wrap
|
1442
|
+
module.exports = $export;
|
1443
|
+
|
1444
|
+
/***/ }),
|
1445
|
+
/* 29 */
|
1446
|
+
/***/ (function(module, exports) {
|
1447
|
+
|
1448
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
1449
|
+
var global = module.exports = typeof window != 'undefined' && window.Math == Math
|
1450
|
+
? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
|
1451
|
+
if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
|
1452
|
+
|
1453
|
+
/***/ }),
|
1454
|
+
/* 30 */
|
1455
|
+
/***/ (function(module, exports) {
|
1456
|
+
|
1457
|
+
var core = module.exports = {version: '1.2.6'};
|
1458
|
+
if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
|
1459
|
+
|
1460
|
+
/***/ }),
|
1461
|
+
/* 31 */
|
1462
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1463
|
+
|
1464
|
+
// optional / simple context binding
|
1465
|
+
var aFunction = __webpack_require__(32);
|
1466
|
+
module.exports = function(fn, that, length){
|
1467
|
+
aFunction(fn);
|
1468
|
+
if(that === undefined)return fn;
|
1469
|
+
switch(length){
|
1470
|
+
case 1: return function(a){
|
1471
|
+
return fn.call(that, a);
|
1472
|
+
};
|
1473
|
+
case 2: return function(a, b){
|
1474
|
+
return fn.call(that, a, b);
|
1475
|
+
};
|
1476
|
+
case 3: return function(a, b, c){
|
1477
|
+
return fn.call(that, a, b, c);
|
1478
|
+
};
|
1479
|
+
}
|
1480
|
+
return function(/* ...args */){
|
1481
|
+
return fn.apply(that, arguments);
|
1482
|
+
};
|
1483
|
+
};
|
1484
|
+
|
1485
|
+
/***/ }),
|
1486
|
+
/* 32 */
|
1487
|
+
/***/ (function(module, exports) {
|
1488
|
+
|
1489
|
+
module.exports = function(it){
|
1490
|
+
if(typeof it != 'function')throw TypeError(it + ' is not a function!');
|
1491
|
+
return it;
|
1492
|
+
};
|
1493
|
+
|
1494
|
+
/***/ }),
|
1495
|
+
/* 33 */
|
1496
|
+
/***/ (function(module, exports) {
|
1497
|
+
|
1498
|
+
module.exports = function(exec){
|
1499
|
+
try {
|
1500
|
+
return !!exec();
|
1501
|
+
} catch(e){
|
1502
|
+
return true;
|
1503
|
+
}
|
1504
|
+
};
|
1505
|
+
|
1506
|
+
/***/ }),
|
1507
|
+
/* 34 */
|
1508
|
+
/***/ (function(module, exports) {
|
1386
1509
|
|
1387
1510
|
/* WEBPACK VAR INJECTION */(function(global) {/* global window */
|
1388
1511
|
'use strict';
|
@@ -1405,9 +1528,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1405
1528
|
module.exports = exports['default'];
|
1406
1529
|
/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
|
1407
1530
|
|
1408
|
-
/***/ },
|
1409
|
-
/*
|
1410
|
-
/***/ function(module, exports) {
|
1531
|
+
/***/ }),
|
1532
|
+
/* 35 */
|
1533
|
+
/***/ (function(module, exports) {
|
1411
1534
|
|
1412
1535
|
'use strict';
|
1413
1536
|
|
@@ -1440,9 +1563,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1440
1563
|
exports['default'] = AST;
|
1441
1564
|
module.exports = exports['default'];
|
1442
1565
|
|
1443
|
-
/***/ },
|
1444
|
-
/*
|
1445
|
-
/***/ function(module, exports, __webpack_require__) {
|
1566
|
+
/***/ }),
|
1567
|
+
/* 36 */
|
1568
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1446
1569
|
|
1447
1570
|
'use strict';
|
1448
1571
|
|
@@ -1453,15 +1576,15 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1453
1576
|
exports.__esModule = true;
|
1454
1577
|
exports.parse = parse;
|
1455
1578
|
|
1456
|
-
var _parser = __webpack_require__(
|
1579
|
+
var _parser = __webpack_require__(37);
|
1457
1580
|
|
1458
1581
|
var _parser2 = _interopRequireDefault(_parser);
|
1459
1582
|
|
1460
|
-
var _whitespaceControl = __webpack_require__(
|
1583
|
+
var _whitespaceControl = __webpack_require__(38);
|
1461
1584
|
|
1462
1585
|
var _whitespaceControl2 = _interopRequireDefault(_whitespaceControl);
|
1463
1586
|
|
1464
|
-
var _helpers = __webpack_require__(
|
1587
|
+
var _helpers = __webpack_require__(40);
|
1465
1588
|
|
1466
1589
|
var Helpers = _interopRequireWildcard(_helpers);
|
1467
1590
|
|
@@ -1489,14 +1612,15 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1489
1612
|
return strip.accept(_parser2['default'].parse(input));
|
1490
1613
|
}
|
1491
1614
|
|
1492
|
-
/***/ },
|
1493
|
-
/*
|
1494
|
-
/***/ function(module, exports) {
|
1615
|
+
/***/ }),
|
1616
|
+
/* 37 */
|
1617
|
+
/***/ (function(module, exports) {
|
1495
1618
|
|
1496
|
-
|
1619
|
+
// File ignored in coverage tests via setting in .istanbul.yml
|
1497
1620
|
/* Jison generated parser */
|
1498
1621
|
"use strict";
|
1499
1622
|
|
1623
|
+
exports.__esModule = true;
|
1500
1624
|
var handlebars = (function () {
|
1501
1625
|
var parser = { trace: function trace() {},
|
1502
1626
|
yy: {},
|
@@ -2228,12 +2352,12 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2228
2352
|
this.yy = {};
|
2229
2353
|
}Parser.prototype = parser;parser.Parser = Parser;
|
2230
2354
|
return new Parser();
|
2231
|
-
})();exports
|
2232
|
-
exports[
|
2355
|
+
})();exports["default"] = handlebars;
|
2356
|
+
module.exports = exports["default"];
|
2233
2357
|
|
2234
|
-
/***/ },
|
2235
|
-
/*
|
2236
|
-
/***/ function(module, exports, __webpack_require__) {
|
2358
|
+
/***/ }),
|
2359
|
+
/* 38 */
|
2360
|
+
/***/ (function(module, exports, __webpack_require__) {
|
2237
2361
|
|
2238
2362
|
'use strict';
|
2239
2363
|
|
@@ -2241,7 +2365,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2241
2365
|
|
2242
2366
|
exports.__esModule = true;
|
2243
2367
|
|
2244
|
-
var _visitor = __webpack_require__(
|
2368
|
+
var _visitor = __webpack_require__(39);
|
2245
2369
|
|
2246
2370
|
var _visitor2 = _interopRequireDefault(_visitor);
|
2247
2371
|
|
@@ -2455,9 +2579,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2455
2579
|
exports['default'] = WhitespaceControl;
|
2456
2580
|
module.exports = exports['default'];
|
2457
2581
|
|
2458
|
-
/***/ },
|
2459
|
-
/*
|
2460
|
-
/***/ function(module, exports, __webpack_require__) {
|
2582
|
+
/***/ }),
|
2583
|
+
/* 39 */
|
2584
|
+
/***/ (function(module, exports, __webpack_require__) {
|
2461
2585
|
|
2462
2586
|
'use strict';
|
2463
2587
|
|
@@ -2598,9 +2722,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2598
2722
|
exports['default'] = Visitor;
|
2599
2723
|
module.exports = exports['default'];
|
2600
2724
|
|
2601
|
-
/***/ },
|
2602
|
-
/*
|
2603
|
-
/***/ function(module, exports, __webpack_require__) {
|
2725
|
+
/***/ }),
|
2726
|
+
/* 40 */
|
2727
|
+
/***/ (function(module, exports, __webpack_require__) {
|
2604
2728
|
|
2605
2729
|
'use strict';
|
2606
2730
|
|
@@ -2831,9 +2955,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2831
2955
|
};
|
2832
2956
|
}
|
2833
2957
|
|
2834
|
-
/***/ },
|
2835
|
-
/*
|
2836
|
-
/***/ function(module, exports, __webpack_require__) {
|
2958
|
+
/***/ }),
|
2959
|
+
/* 41 */
|
2960
|
+
/***/ (function(module, exports, __webpack_require__) {
|
2837
2961
|
|
2838
2962
|
/* eslint-disable new-cap */
|
2839
2963
|
|
@@ -2852,7 +2976,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
2852
2976
|
|
2853
2977
|
var _utils = __webpack_require__(5);
|
2854
2978
|
|
2855
|
-
var _ast = __webpack_require__(
|
2979
|
+
var _ast = __webpack_require__(35);
|
2856
2980
|
|
2857
2981
|
var _ast2 = _interopRequireDefault(_ast);
|
2858
2982
|
|
@@ -3406,9 +3530,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3406
3530
|
}
|
3407
3531
|
}
|
3408
3532
|
|
3409
|
-
/***/ },
|
3410
|
-
/*
|
3411
|
-
/***/ function(module, exports, __webpack_require__) {
|
3533
|
+
/***/ }),
|
3534
|
+
/* 42 */
|
3535
|
+
/***/ (function(module, exports, __webpack_require__) {
|
3412
3536
|
|
3413
3537
|
'use strict';
|
3414
3538
|
|
@@ -3424,7 +3548,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3424
3548
|
|
3425
3549
|
var _utils = __webpack_require__(5);
|
3426
3550
|
|
3427
|
-
var _codeGen = __webpack_require__(
|
3551
|
+
var _codeGen = __webpack_require__(43);
|
3428
3552
|
|
3429
3553
|
var _codeGen2 = _interopRequireDefault(_codeGen);
|
3430
3554
|
|
@@ -4405,7 +4529,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
4405
4529
|
var params = [],
|
4406
4530
|
paramsInit = this.setupHelperArgs(name, paramSize, params, blockHelper);
|
4407
4531
|
var foundHelper = this.nameLookup('helpers', name, 'helper'),
|
4408
|
-
callContext = this.aliasable(this.contextName(0) + ' != null ? ' + this.contextName(0) + ' : {}');
|
4532
|
+
callContext = this.aliasable(this.contextName(0) + ' != null ? ' + this.contextName(0) + ' : (container.nullContext || {})');
|
4409
4533
|
|
4410
4534
|
return {
|
4411
4535
|
params: params,
|
@@ -4537,9 +4661,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
4537
4661
|
exports['default'] = JavaScriptCompiler;
|
4538
4662
|
module.exports = exports['default'];
|
4539
4663
|
|
4540
|
-
/***/ },
|
4541
|
-
/*
|
4542
|
-
/***/ function(module, exports, __webpack_require__) {
|
4664
|
+
/***/ }),
|
4665
|
+
/* 43 */
|
4666
|
+
/***/ (function(module, exports, __webpack_require__) {
|
4543
4667
|
|
4544
4668
|
/* global define */
|
4545
4669
|
'use strict';
|
@@ -4707,7 +4831,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
4707
4831
|
exports['default'] = CodeGen;
|
4708
4832
|
module.exports = exports['default'];
|
4709
4833
|
|
4710
|
-
/***/ }
|
4834
|
+
/***/ })
|
4711
4835
|
/******/ ])
|
4712
4836
|
});
|
4713
4837
|
;
|