handlebars-source 4.0.5 → 4.0.6

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.

Files changed (4) hide show
  1. checksums.yaml +13 -5
  2. data/handlebars.js +172 -67
  3. data/handlebars.runtime.js +141 -38
  4. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 166400e58d304ea5ed573c919f7f523fddd4ebac
4
- data.tar.gz: 8b9fb289d388ce7b028a2eea910d263a1e60f5a1
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YzVjN2Q3MzFmNjFkYTdkYzdiMzhkZjdlZjE3YTk5YTMyYzM1MWY0OQ==
5
+ data.tar.gz: !binary |-
6
+ ZWMwZDUwNDNiZjVjYmRlN2U0YTA3OTdmNmRkNWNjNDU3NTdiZDUzNg==
5
7
  SHA512:
6
- metadata.gz: cf961c1692ee614d93a21f8d4bb9968086f4e34a7dad54d72176ad847950ca6c5584918b20371e920fadd397d9e84634aa6cec8f3c100191a095c8964735e83b
7
- data.tar.gz: be575926bc218f8b0cf71cced210120afe48860900fd2265ac3ee96ee8a21ca12b8c87d1a1ceb43b513dbc886c9919056a254d62ee1701c37e3c4446f1cc59a9
8
+ metadata.gz: !binary |-
9
+ YmUwZTlmNjBjMzFlODNmZTM4NDJhNjI3MDU2MTUzMDkwMTA2MjlkY2MyMGI4
10
+ NmJmZGJmZDkyM2MwYzQwYTAzN2ZiNDBmNTUzOTcwMGNiM2RmMzc3MzgwMDVi
11
+ NDQwYTE2ZDRiMmFlYmZkYmJlNjQ1NDgyZWE3ZjdhYjE0NzhkZTk=
12
+ data.tar.gz: !binary |-
13
+ NGNhNmU3MmQxOWFjODNlMTE5YjMyMGI4OWFkNzRkMDI5ZTE0YWU3NmY0ZGQz
14
+ N2Y0NjNiODE0MDkxOWQ5MGM0OTY3ZjM4YzlkMTU1YmEyNDNiNWE4ODM1MzVl
15
+ ZTk5YTAyYWVkNTE3OTI5ZjQxZTc5MzgwZDdkOTAxOWQ4OTQ1NGE=
@@ -1,8 +1,61 @@
1
- /*!
1
+ /**!
2
2
 
3
- handlebars v4.0.5
3
+ @license
4
+ handlebars v4.0.6
4
5
 
5
- Copyright (C) 2011-2015 by Yehuda Katz
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
57
+
58
+ Copyright (C) 2011-2016 by Yehuda Katz
6
59
 
7
60
  Permission is hereby granted, free of charge, to any person obtaining a copy
8
61
  of this software and associated documentation files (the "Software"), to deal
@@ -22,7 +75,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
75
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
76
  THE SOFTWARE.
24
77
 
25
- @license
26
78
  */
27
79
  (function webpackUniversalModuleDefinition(root, factory) {
28
80
  if(typeof exports === 'object' && typeof module === 'object')
@@ -92,23 +144,23 @@ return /******/ (function(modules) { // webpackBootstrap
92
144
 
93
145
  // Compiler imports
94
146
 
95
- var _handlebarsCompilerAst = __webpack_require__(21);
147
+ var _handlebarsCompilerAst = __webpack_require__(24);
96
148
 
97
149
  var _handlebarsCompilerAst2 = _interopRequireDefault(_handlebarsCompilerAst);
98
150
 
99
- var _handlebarsCompilerBase = __webpack_require__(22);
151
+ var _handlebarsCompilerBase = __webpack_require__(25);
100
152
 
101
- var _handlebarsCompilerCompiler = __webpack_require__(27);
153
+ var _handlebarsCompilerCompiler = __webpack_require__(30);
102
154
 
103
- var _handlebarsCompilerJavascriptCompiler = __webpack_require__(28);
155
+ var _handlebarsCompilerJavascriptCompiler = __webpack_require__(31);
104
156
 
105
157
  var _handlebarsCompilerJavascriptCompiler2 = _interopRequireDefault(_handlebarsCompilerJavascriptCompiler);
106
158
 
107
- var _handlebarsCompilerVisitor = __webpack_require__(25);
159
+ var _handlebarsCompilerVisitor = __webpack_require__(28);
108
160
 
109
161
  var _handlebarsCompilerVisitor2 = _interopRequireDefault(_handlebarsCompilerVisitor);
110
162
 
111
- var _handlebarsNoConflict = __webpack_require__(20);
163
+ var _handlebarsNoConflict = __webpack_require__(23);
112
164
 
113
165
  var _handlebarsNoConflict2 = _interopRequireDefault(_handlebarsNoConflict);
114
166
 
@@ -177,7 +229,7 @@ return /******/ (function(modules) { // webpackBootstrap
177
229
  // Each of these augment the Handlebars object. No need to setup here.
178
230
  // (This is done to easily share code between commonjs and browse envs)
179
231
 
180
- var _handlebarsSafeString = __webpack_require__(18);
232
+ var _handlebarsSafeString = __webpack_require__(21);
181
233
 
182
234
  var _handlebarsSafeString2 = _interopRequireDefault(_handlebarsSafeString);
183
235
 
@@ -189,11 +241,11 @@ return /******/ (function(modules) { // webpackBootstrap
189
241
 
190
242
  var Utils = _interopRequireWildcard(_handlebarsUtils);
191
243
 
192
- var _handlebarsRuntime = __webpack_require__(19);
244
+ var _handlebarsRuntime = __webpack_require__(22);
193
245
 
194
246
  var runtime = _interopRequireWildcard(_handlebarsRuntime);
195
247
 
196
- var _handlebarsNoConflict = __webpack_require__(20);
248
+ var _handlebarsNoConflict = __webpack_require__(23);
197
249
 
198
250
  var _handlebarsNoConflict2 = _interopRequireDefault(_handlebarsNoConflict);
199
251
 
@@ -267,11 +319,11 @@ return /******/ (function(modules) { // webpackBootstrap
267
319
 
268
320
  var _exception2 = _interopRequireDefault(_exception);
269
321
 
270
- var _helpers = __webpack_require__(7);
322
+ var _helpers = __webpack_require__(10);
271
323
 
272
- var _decorators = __webpack_require__(15);
324
+ var _decorators = __webpack_require__(18);
273
325
 
274
- var _logger = __webpack_require__(17);
326
+ var _logger = __webpack_require__(20);
275
327
 
276
328
  var _logger2 = _interopRequireDefault(_logger);
277
329
 
@@ -487,10 +539,12 @@ return /******/ (function(modules) { // webpackBootstrap
487
539
 
488
540
  /***/ },
489
541
  /* 6 */
490
- /***/ function(module, exports) {
542
+ /***/ function(module, exports, __webpack_require__) {
491
543
 
492
544
  'use strict';
493
545
 
546
+ var _Object$defineProperty = __webpack_require__(7)['default'];
547
+
494
548
  exports.__esModule = true;
495
549
 
496
550
  var errorProps = ['description', 'fileName', 'lineNumber', 'message', 'name', 'number', 'stack'];
@@ -518,9 +572,20 @@ return /******/ (function(modules) { // webpackBootstrap
518
572
  Error.captureStackTrace(this, Exception);
519
573
  }
520
574
 
521
- if (loc) {
522
- this.lineNumber = line;
523
- this.column = column;
575
+ try {
576
+ if (loc) {
577
+ this.lineNumber = line;
578
+
579
+ // Work around issue under safari where we can't directly set the column value
580
+ /* istanbul ignore next */
581
+ if (_Object$defineProperty) {
582
+ Object.defineProperty(this, 'column', { value: column });
583
+ } else {
584
+ this.column = column;
585
+ }
586
+ }
587
+ } catch (nop) {
588
+ /* Ignore if the browser is very particular */
524
589
  }
525
590
  }
526
591
 
@@ -531,6 +596,39 @@ return /******/ (function(modules) { // webpackBootstrap
531
596
 
532
597
  /***/ },
533
598
  /* 7 */
599
+ /***/ function(module, exports, __webpack_require__) {
600
+
601
+ module.exports = { "default": __webpack_require__(8), __esModule: true };
602
+
603
+ /***/ },
604
+ /* 8 */
605
+ /***/ function(module, exports, __webpack_require__) {
606
+
607
+ var $ = __webpack_require__(9);
608
+ module.exports = function defineProperty(it, key, desc){
609
+ return $.setDesc(it, key, desc);
610
+ };
611
+
612
+ /***/ },
613
+ /* 9 */
614
+ /***/ function(module, exports) {
615
+
616
+ var $Object = Object;
617
+ module.exports = {
618
+ create: $Object.create,
619
+ getProto: $Object.getPrototypeOf,
620
+ isEnum: {}.propertyIsEnumerable,
621
+ getDesc: $Object.getOwnPropertyDescriptor,
622
+ setDesc: $Object.defineProperty,
623
+ setDescs: $Object.defineProperties,
624
+ getKeys: $Object.keys,
625
+ getNames: $Object.getOwnPropertyNames,
626
+ getSymbols: $Object.getOwnPropertySymbols,
627
+ each: [].forEach
628
+ };
629
+
630
+ /***/ },
631
+ /* 10 */
534
632
  /***/ function(module, exports, __webpack_require__) {
535
633
 
536
634
  'use strict';
@@ -540,31 +638,31 @@ return /******/ (function(modules) { // webpackBootstrap
540
638
  exports.__esModule = true;
541
639
  exports.registerDefaultHelpers = registerDefaultHelpers;
542
640
 
543
- var _helpersBlockHelperMissing = __webpack_require__(8);
641
+ var _helpersBlockHelperMissing = __webpack_require__(11);
544
642
 
545
643
  var _helpersBlockHelperMissing2 = _interopRequireDefault(_helpersBlockHelperMissing);
546
644
 
547
- var _helpersEach = __webpack_require__(9);
645
+ var _helpersEach = __webpack_require__(12);
548
646
 
549
647
  var _helpersEach2 = _interopRequireDefault(_helpersEach);
550
648
 
551
- var _helpersHelperMissing = __webpack_require__(10);
649
+ var _helpersHelperMissing = __webpack_require__(13);
552
650
 
553
651
  var _helpersHelperMissing2 = _interopRequireDefault(_helpersHelperMissing);
554
652
 
555
- var _helpersIf = __webpack_require__(11);
653
+ var _helpersIf = __webpack_require__(14);
556
654
 
557
655
  var _helpersIf2 = _interopRequireDefault(_helpersIf);
558
656
 
559
- var _helpersLog = __webpack_require__(12);
657
+ var _helpersLog = __webpack_require__(15);
560
658
 
561
659
  var _helpersLog2 = _interopRequireDefault(_helpersLog);
562
660
 
563
- var _helpersLookup = __webpack_require__(13);
661
+ var _helpersLookup = __webpack_require__(16);
564
662
 
565
663
  var _helpersLookup2 = _interopRequireDefault(_helpersLookup);
566
664
 
567
- var _helpersWith = __webpack_require__(14);
665
+ var _helpersWith = __webpack_require__(17);
568
666
 
569
667
  var _helpersWith2 = _interopRequireDefault(_helpersWith);
570
668
 
@@ -579,7 +677,7 @@ return /******/ (function(modules) { // webpackBootstrap
579
677
  }
580
678
 
581
679
  /***/ },
582
- /* 8 */
680
+ /* 11 */
583
681
  /***/ function(module, exports, __webpack_require__) {
584
682
 
585
683
  'use strict';
@@ -622,7 +720,7 @@ return /******/ (function(modules) { // webpackBootstrap
622
720
  module.exports = exports['default'];
623
721
 
624
722
  /***/ },
625
- /* 9 */
723
+ /* 12 */
626
724
  /***/ function(module, exports, __webpack_require__) {
627
725
 
628
726
  'use strict';
@@ -719,7 +817,7 @@ return /******/ (function(modules) { // webpackBootstrap
719
817
  module.exports = exports['default'];
720
818
 
721
819
  /***/ },
722
- /* 10 */
820
+ /* 13 */
723
821
  /***/ function(module, exports, __webpack_require__) {
724
822
 
725
823
  'use strict';
@@ -747,7 +845,7 @@ return /******/ (function(modules) { // webpackBootstrap
747
845
  module.exports = exports['default'];
748
846
 
749
847
  /***/ },
750
- /* 11 */
848
+ /* 14 */
751
849
  /***/ function(module, exports, __webpack_require__) {
752
850
 
753
851
  'use strict';
@@ -780,7 +878,7 @@ return /******/ (function(modules) { // webpackBootstrap
780
878
  module.exports = exports['default'];
781
879
 
782
880
  /***/ },
783
- /* 12 */
881
+ /* 15 */
784
882
  /***/ function(module, exports) {
785
883
 
786
884
  'use strict';
@@ -810,7 +908,7 @@ return /******/ (function(modules) { // webpackBootstrap
810
908
  module.exports = exports['default'];
811
909
 
812
910
  /***/ },
813
- /* 13 */
911
+ /* 16 */
814
912
  /***/ function(module, exports) {
815
913
 
816
914
  'use strict';
@@ -826,7 +924,7 @@ return /******/ (function(modules) { // webpackBootstrap
826
924
  module.exports = exports['default'];
827
925
 
828
926
  /***/ },
829
- /* 14 */
927
+ /* 17 */
830
928
  /***/ function(module, exports, __webpack_require__) {
831
929
 
832
930
  'use strict';
@@ -863,7 +961,7 @@ return /******/ (function(modules) { // webpackBootstrap
863
961
  module.exports = exports['default'];
864
962
 
865
963
  /***/ },
866
- /* 15 */
964
+ /* 18 */
867
965
  /***/ function(module, exports, __webpack_require__) {
868
966
 
869
967
  'use strict';
@@ -873,7 +971,7 @@ return /******/ (function(modules) { // webpackBootstrap
873
971
  exports.__esModule = true;
874
972
  exports.registerDefaultDecorators = registerDefaultDecorators;
875
973
 
876
- var _decoratorsInline = __webpack_require__(16);
974
+ var _decoratorsInline = __webpack_require__(19);
877
975
 
878
976
  var _decoratorsInline2 = _interopRequireDefault(_decoratorsInline);
879
977
 
@@ -882,7 +980,7 @@ return /******/ (function(modules) { // webpackBootstrap
882
980
  }
883
981
 
884
982
  /***/ },
885
- /* 16 */
983
+ /* 19 */
886
984
  /***/ function(module, exports, __webpack_require__) {
887
985
 
888
986
  'use strict';
@@ -915,7 +1013,7 @@ return /******/ (function(modules) { // webpackBootstrap
915
1013
  module.exports = exports['default'];
916
1014
 
917
1015
  /***/ },
918
- /* 17 */
1016
+ /* 20 */
919
1017
  /***/ function(module, exports, __webpack_require__) {
920
1018
 
921
1019
  'use strict';
@@ -966,7 +1064,7 @@ return /******/ (function(modules) { // webpackBootstrap
966
1064
  module.exports = exports['default'];
967
1065
 
968
1066
  /***/ },
969
- /* 18 */
1067
+ /* 21 */
970
1068
  /***/ function(module, exports) {
971
1069
 
972
1070
  // Build out our basic SafeString type
@@ -985,7 +1083,7 @@ return /******/ (function(modules) { // webpackBootstrap
985
1083
  module.exports = exports['default'];
986
1084
 
987
1085
  /***/ },
988
- /* 19 */
1086
+ /* 22 */
989
1087
  /***/ function(module, exports, __webpack_require__) {
990
1088
 
991
1089
  'use strict';
@@ -1150,7 +1248,7 @@ return /******/ (function(modules) { // webpackBootstrap
1150
1248
  blockParams = templateSpec.useBlockParams ? [] : undefined;
1151
1249
  if (templateSpec.useDepths) {
1152
1250
  if (options.depths) {
1153
- depths = context !== options.depths[0] ? [context].concat(options.depths) : options.depths;
1251
+ depths = context != options.depths[0] ? [context].concat(options.depths) : options.depths;
1154
1252
  } else {
1155
1253
  depths = [context];
1156
1254
  }
@@ -1199,7 +1297,7 @@ return /******/ (function(modules) { // webpackBootstrap
1199
1297
  var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
1200
1298
 
1201
1299
  var currentDepths = depths;
1202
- if (depths && context !== depths[0]) {
1300
+ if (depths && context != depths[0]) {
1203
1301
  currentDepths = [context].concat(depths);
1204
1302
  }
1205
1303
 
@@ -1217,7 +1315,12 @@ return /******/ (function(modules) { // webpackBootstrap
1217
1315
  function resolvePartial(partial, context, options) {
1218
1316
  if (!partial) {
1219
1317
  if (options.name === '@partial-block') {
1220
- partial = options.data['partial-block'];
1318
+ var data = options.data;
1319
+ while (data['partial-block'] === noop) {
1320
+ data = data._parent;
1321
+ }
1322
+ partial = data['partial-block'];
1323
+ data['partial-block'] = noop;
1221
1324
  } else {
1222
1325
  partial = options.partials[options.name];
1223
1326
  }
@@ -1278,7 +1381,7 @@ return /******/ (function(modules) { // webpackBootstrap
1278
1381
  }
1279
1382
 
1280
1383
  /***/ },
1281
- /* 20 */
1384
+ /* 23 */
1282
1385
  /***/ function(module, exports) {
1283
1386
 
1284
1387
  /* WEBPACK VAR INJECTION */(function(global) {/* global window */
@@ -1303,7 +1406,7 @@ return /******/ (function(modules) { // webpackBootstrap
1303
1406
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
1304
1407
 
1305
1408
  /***/ },
1306
- /* 21 */
1409
+ /* 24 */
1307
1410
  /***/ function(module, exports) {
1308
1411
 
1309
1412
  'use strict';
@@ -1338,7 +1441,7 @@ return /******/ (function(modules) { // webpackBootstrap
1338
1441
  module.exports = exports['default'];
1339
1442
 
1340
1443
  /***/ },
1341
- /* 22 */
1444
+ /* 25 */
1342
1445
  /***/ function(module, exports, __webpack_require__) {
1343
1446
 
1344
1447
  'use strict';
@@ -1350,15 +1453,15 @@ return /******/ (function(modules) { // webpackBootstrap
1350
1453
  exports.__esModule = true;
1351
1454
  exports.parse = parse;
1352
1455
 
1353
- var _parser = __webpack_require__(23);
1456
+ var _parser = __webpack_require__(26);
1354
1457
 
1355
1458
  var _parser2 = _interopRequireDefault(_parser);
1356
1459
 
1357
- var _whitespaceControl = __webpack_require__(24);
1460
+ var _whitespaceControl = __webpack_require__(27);
1358
1461
 
1359
1462
  var _whitespaceControl2 = _interopRequireDefault(_whitespaceControl);
1360
1463
 
1361
- var _helpers = __webpack_require__(26);
1464
+ var _helpers = __webpack_require__(29);
1362
1465
 
1363
1466
  var Helpers = _interopRequireWildcard(_helpers);
1364
1467
 
@@ -1387,7 +1490,7 @@ return /******/ (function(modules) { // webpackBootstrap
1387
1490
  }
1388
1491
 
1389
1492
  /***/ },
1390
- /* 23 */
1493
+ /* 26 */
1391
1494
  /***/ function(module, exports) {
1392
1495
 
1393
1496
  /* istanbul ignore next */
@@ -2129,7 +2232,7 @@ return /******/ (function(modules) { // webpackBootstrap
2129
2232
  exports['default'] = handlebars;
2130
2233
 
2131
2234
  /***/ },
2132
- /* 24 */
2235
+ /* 27 */
2133
2236
  /***/ function(module, exports, __webpack_require__) {
2134
2237
 
2135
2238
  'use strict';
@@ -2138,7 +2241,7 @@ return /******/ (function(modules) { // webpackBootstrap
2138
2241
 
2139
2242
  exports.__esModule = true;
2140
2243
 
2141
- var _visitor = __webpack_require__(25);
2244
+ var _visitor = __webpack_require__(28);
2142
2245
 
2143
2246
  var _visitor2 = _interopRequireDefault(_visitor);
2144
2247
 
@@ -2353,7 +2456,7 @@ return /******/ (function(modules) { // webpackBootstrap
2353
2456
  module.exports = exports['default'];
2354
2457
 
2355
2458
  /***/ },
2356
- /* 25 */
2459
+ /* 28 */
2357
2460
  /***/ function(module, exports, __webpack_require__) {
2358
2461
 
2359
2462
  'use strict';
@@ -2496,7 +2599,7 @@ return /******/ (function(modules) { // webpackBootstrap
2496
2599
  module.exports = exports['default'];
2497
2600
 
2498
2601
  /***/ },
2499
- /* 26 */
2602
+ /* 29 */
2500
2603
  /***/ function(module, exports, __webpack_require__) {
2501
2604
 
2502
2605
  'use strict';
@@ -2729,7 +2832,7 @@ return /******/ (function(modules) { // webpackBootstrap
2729
2832
  }
2730
2833
 
2731
2834
  /***/ },
2732
- /* 27 */
2835
+ /* 30 */
2733
2836
  /***/ function(module, exports, __webpack_require__) {
2734
2837
 
2735
2838
  /* eslint-disable new-cap */
@@ -2749,7 +2852,7 @@ return /******/ (function(modules) { // webpackBootstrap
2749
2852
 
2750
2853
  var _utils = __webpack_require__(5);
2751
2854
 
2752
- var _ast = __webpack_require__(21);
2855
+ var _ast = __webpack_require__(24);
2753
2856
 
2754
2857
  var _ast2 = _interopRequireDefault(_ast);
2755
2858
 
@@ -3304,7 +3407,7 @@ return /******/ (function(modules) { // webpackBootstrap
3304
3407
  }
3305
3408
 
3306
3409
  /***/ },
3307
- /* 28 */
3410
+ /* 31 */
3308
3411
  /***/ function(module, exports, __webpack_require__) {
3309
3412
 
3310
3413
  'use strict';
@@ -3321,7 +3424,7 @@ return /******/ (function(modules) { // webpackBootstrap
3321
3424
 
3322
3425
  var _utils = __webpack_require__(5);
3323
3426
 
3324
- var _codeGen = __webpack_require__(29);
3427
+ var _codeGen = __webpack_require__(32);
3325
3428
 
3326
3429
  var _codeGen2 = _interopRequireDefault(_codeGen);
3327
3430
 
@@ -4092,11 +4195,11 @@ return /******/ (function(modules) { // webpackBootstrap
4092
4195
  child = children[i];
4093
4196
  compiler = new this.compiler(); // eslint-disable-line new-cap
4094
4197
 
4095
- var index = this.matchExistingProgram(child);
4198
+ var existing = this.matchExistingProgram(child);
4096
4199
 
4097
- if (index == null) {
4200
+ if (existing == null) {
4098
4201
  this.context.programs.push(''); // Placeholder to prevent name conflicts for nested children
4099
- index = this.context.programs.length;
4202
+ var index = this.context.programs.length;
4100
4203
  child.index = index;
4101
4204
  child.name = 'program' + index;
4102
4205
  this.context.programs[index] = compiler.compile(child, options, this.context, !this.precompile);
@@ -4105,12 +4208,14 @@ return /******/ (function(modules) { // webpackBootstrap
4105
4208
 
4106
4209
  this.useDepths = this.useDepths || compiler.useDepths;
4107
4210
  this.useBlockParams = this.useBlockParams || compiler.useBlockParams;
4211
+ child.useDepths = this.useDepths;
4212
+ child.useBlockParams = this.useBlockParams;
4108
4213
  } else {
4109
- child.index = index;
4110
- child.name = 'program' + index;
4214
+ child.index = existing.index;
4215
+ child.name = 'program' + existing.index;
4111
4216
 
4112
- this.useDepths = this.useDepths || child.useDepths;
4113
- this.useBlockParams = this.useBlockParams || child.useBlockParams;
4217
+ this.useDepths = this.useDepths || existing.useDepths;
4218
+ this.useBlockParams = this.useBlockParams || existing.useBlockParams;
4114
4219
  }
4115
4220
  }
4116
4221
  },
@@ -4118,7 +4223,7 @@ return /******/ (function(modules) { // webpackBootstrap
4118
4223
  for (var i = 0, len = this.context.environments.length; i < len; i++) {
4119
4224
  var environment = this.context.environments[i];
4120
4225
  if (environment && environment.equals(child)) {
4121
- return i;
4226
+ return environment;
4122
4227
  }
4123
4228
  }
4124
4229
  },
@@ -4433,7 +4538,7 @@ return /******/ (function(modules) { // webpackBootstrap
4433
4538
  module.exports = exports['default'];
4434
4539
 
4435
4540
  /***/ },
4436
- /* 29 */
4541
+ /* 32 */
4437
4542
  /***/ function(module, exports, __webpack_require__) {
4438
4543
 
4439
4544
  /* global define */
@@ -1,8 +1,61 @@
1
- /*!
1
+ /**!
2
2
 
3
- handlebars v4.0.5
3
+ @license
4
+ handlebars v4.0.6
4
5
 
5
- Copyright (C) 2011-2015 by Yehuda Katz
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
57
+
58
+ Copyright (C) 2011-2016 by Yehuda Katz
6
59
 
7
60
  Permission is hereby granted, free of charge, to any person obtaining a copy
8
61
  of this software and associated documentation files (the "Software"), to deal
@@ -22,7 +75,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
75
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
76
  THE SOFTWARE.
24
77
 
25
- @license
26
78
  */
27
79
  (function webpackUniversalModuleDefinition(root, factory) {
28
80
  if(typeof exports === 'object' && typeof module === 'object')
@@ -95,7 +147,7 @@ return /******/ (function(modules) { // webpackBootstrap
95
147
  // Each of these augment the Handlebars object. No need to setup here.
96
148
  // (This is done to easily share code between commonjs and browse envs)
97
149
 
98
- var _handlebarsSafeString = __webpack_require__(17);
150
+ var _handlebarsSafeString = __webpack_require__(20);
99
151
 
100
152
  var _handlebarsSafeString2 = _interopRequireDefault(_handlebarsSafeString);
101
153
 
@@ -107,11 +159,11 @@ return /******/ (function(modules) { // webpackBootstrap
107
159
 
108
160
  var Utils = _interopRequireWildcard(_handlebarsUtils);
109
161
 
110
- var _handlebarsRuntime = __webpack_require__(18);
162
+ var _handlebarsRuntime = __webpack_require__(21);
111
163
 
112
164
  var runtime = _interopRequireWildcard(_handlebarsRuntime);
113
165
 
114
- var _handlebarsNoConflict = __webpack_require__(19);
166
+ var _handlebarsNoConflict = __webpack_require__(22);
115
167
 
116
168
  var _handlebarsNoConflict2 = _interopRequireDefault(_handlebarsNoConflict);
117
169
 
@@ -199,11 +251,11 @@ return /******/ (function(modules) { // webpackBootstrap
199
251
 
200
252
  var _exception2 = _interopRequireDefault(_exception);
201
253
 
202
- var _helpers = __webpack_require__(6);
254
+ var _helpers = __webpack_require__(9);
203
255
 
204
- var _decorators = __webpack_require__(14);
256
+ var _decorators = __webpack_require__(17);
205
257
 
206
- var _logger = __webpack_require__(16);
258
+ var _logger = __webpack_require__(19);
207
259
 
208
260
  var _logger2 = _interopRequireDefault(_logger);
209
261
 
@@ -419,10 +471,12 @@ return /******/ (function(modules) { // webpackBootstrap
419
471
 
420
472
  /***/ },
421
473
  /* 5 */
422
- /***/ function(module, exports) {
474
+ /***/ function(module, exports, __webpack_require__) {
423
475
 
424
476
  'use strict';
425
477
 
478
+ var _Object$defineProperty = __webpack_require__(6)['default'];
479
+
426
480
  exports.__esModule = true;
427
481
 
428
482
  var errorProps = ['description', 'fileName', 'lineNumber', 'message', 'name', 'number', 'stack'];
@@ -450,9 +504,20 @@ return /******/ (function(modules) { // webpackBootstrap
450
504
  Error.captureStackTrace(this, Exception);
451
505
  }
452
506
 
453
- if (loc) {
454
- this.lineNumber = line;
455
- this.column = column;
507
+ try {
508
+ if (loc) {
509
+ this.lineNumber = line;
510
+
511
+ // Work around issue under safari where we can't directly set the column value
512
+ /* istanbul ignore next */
513
+ if (_Object$defineProperty) {
514
+ Object.defineProperty(this, 'column', { value: column });
515
+ } else {
516
+ this.column = column;
517
+ }
518
+ }
519
+ } catch (nop) {
520
+ /* Ignore if the browser is very particular */
456
521
  }
457
522
  }
458
523
 
@@ -463,6 +528,39 @@ return /******/ (function(modules) { // webpackBootstrap
463
528
 
464
529
  /***/ },
465
530
  /* 6 */
531
+ /***/ function(module, exports, __webpack_require__) {
532
+
533
+ module.exports = { "default": __webpack_require__(7), __esModule: true };
534
+
535
+ /***/ },
536
+ /* 7 */
537
+ /***/ function(module, exports, __webpack_require__) {
538
+
539
+ var $ = __webpack_require__(8);
540
+ module.exports = function defineProperty(it, key, desc){
541
+ return $.setDesc(it, key, desc);
542
+ };
543
+
544
+ /***/ },
545
+ /* 8 */
546
+ /***/ function(module, exports) {
547
+
548
+ var $Object = Object;
549
+ module.exports = {
550
+ create: $Object.create,
551
+ getProto: $Object.getPrototypeOf,
552
+ isEnum: {}.propertyIsEnumerable,
553
+ getDesc: $Object.getOwnPropertyDescriptor,
554
+ setDesc: $Object.defineProperty,
555
+ setDescs: $Object.defineProperties,
556
+ getKeys: $Object.keys,
557
+ getNames: $Object.getOwnPropertyNames,
558
+ getSymbols: $Object.getOwnPropertySymbols,
559
+ each: [].forEach
560
+ };
561
+
562
+ /***/ },
563
+ /* 9 */
466
564
  /***/ function(module, exports, __webpack_require__) {
467
565
 
468
566
  'use strict';
@@ -472,31 +570,31 @@ return /******/ (function(modules) { // webpackBootstrap
472
570
  exports.__esModule = true;
473
571
  exports.registerDefaultHelpers = registerDefaultHelpers;
474
572
 
475
- var _helpersBlockHelperMissing = __webpack_require__(7);
573
+ var _helpersBlockHelperMissing = __webpack_require__(10);
476
574
 
477
575
  var _helpersBlockHelperMissing2 = _interopRequireDefault(_helpersBlockHelperMissing);
478
576
 
479
- var _helpersEach = __webpack_require__(8);
577
+ var _helpersEach = __webpack_require__(11);
480
578
 
481
579
  var _helpersEach2 = _interopRequireDefault(_helpersEach);
482
580
 
483
- var _helpersHelperMissing = __webpack_require__(9);
581
+ var _helpersHelperMissing = __webpack_require__(12);
484
582
 
485
583
  var _helpersHelperMissing2 = _interopRequireDefault(_helpersHelperMissing);
486
584
 
487
- var _helpersIf = __webpack_require__(10);
585
+ var _helpersIf = __webpack_require__(13);
488
586
 
489
587
  var _helpersIf2 = _interopRequireDefault(_helpersIf);
490
588
 
491
- var _helpersLog = __webpack_require__(11);
589
+ var _helpersLog = __webpack_require__(14);
492
590
 
493
591
  var _helpersLog2 = _interopRequireDefault(_helpersLog);
494
592
 
495
- var _helpersLookup = __webpack_require__(12);
593
+ var _helpersLookup = __webpack_require__(15);
496
594
 
497
595
  var _helpersLookup2 = _interopRequireDefault(_helpersLookup);
498
596
 
499
- var _helpersWith = __webpack_require__(13);
597
+ var _helpersWith = __webpack_require__(16);
500
598
 
501
599
  var _helpersWith2 = _interopRequireDefault(_helpersWith);
502
600
 
@@ -511,7 +609,7 @@ return /******/ (function(modules) { // webpackBootstrap
511
609
  }
512
610
 
513
611
  /***/ },
514
- /* 7 */
612
+ /* 10 */
515
613
  /***/ function(module, exports, __webpack_require__) {
516
614
 
517
615
  'use strict';
@@ -554,7 +652,7 @@ return /******/ (function(modules) { // webpackBootstrap
554
652
  module.exports = exports['default'];
555
653
 
556
654
  /***/ },
557
- /* 8 */
655
+ /* 11 */
558
656
  /***/ function(module, exports, __webpack_require__) {
559
657
 
560
658
  'use strict';
@@ -651,7 +749,7 @@ return /******/ (function(modules) { // webpackBootstrap
651
749
  module.exports = exports['default'];
652
750
 
653
751
  /***/ },
654
- /* 9 */
752
+ /* 12 */
655
753
  /***/ function(module, exports, __webpack_require__) {
656
754
 
657
755
  'use strict';
@@ -679,7 +777,7 @@ return /******/ (function(modules) { // webpackBootstrap
679
777
  module.exports = exports['default'];
680
778
 
681
779
  /***/ },
682
- /* 10 */
780
+ /* 13 */
683
781
  /***/ function(module, exports, __webpack_require__) {
684
782
 
685
783
  'use strict';
@@ -712,7 +810,7 @@ return /******/ (function(modules) { // webpackBootstrap
712
810
  module.exports = exports['default'];
713
811
 
714
812
  /***/ },
715
- /* 11 */
813
+ /* 14 */
716
814
  /***/ function(module, exports) {
717
815
 
718
816
  'use strict';
@@ -742,7 +840,7 @@ return /******/ (function(modules) { // webpackBootstrap
742
840
  module.exports = exports['default'];
743
841
 
744
842
  /***/ },
745
- /* 12 */
843
+ /* 15 */
746
844
  /***/ function(module, exports) {
747
845
 
748
846
  'use strict';
@@ -758,7 +856,7 @@ return /******/ (function(modules) { // webpackBootstrap
758
856
  module.exports = exports['default'];
759
857
 
760
858
  /***/ },
761
- /* 13 */
859
+ /* 16 */
762
860
  /***/ function(module, exports, __webpack_require__) {
763
861
 
764
862
  'use strict';
@@ -795,7 +893,7 @@ return /******/ (function(modules) { // webpackBootstrap
795
893
  module.exports = exports['default'];
796
894
 
797
895
  /***/ },
798
- /* 14 */
896
+ /* 17 */
799
897
  /***/ function(module, exports, __webpack_require__) {
800
898
 
801
899
  'use strict';
@@ -805,7 +903,7 @@ return /******/ (function(modules) { // webpackBootstrap
805
903
  exports.__esModule = true;
806
904
  exports.registerDefaultDecorators = registerDefaultDecorators;
807
905
 
808
- var _decoratorsInline = __webpack_require__(15);
906
+ var _decoratorsInline = __webpack_require__(18);
809
907
 
810
908
  var _decoratorsInline2 = _interopRequireDefault(_decoratorsInline);
811
909
 
@@ -814,7 +912,7 @@ return /******/ (function(modules) { // webpackBootstrap
814
912
  }
815
913
 
816
914
  /***/ },
817
- /* 15 */
915
+ /* 18 */
818
916
  /***/ function(module, exports, __webpack_require__) {
819
917
 
820
918
  'use strict';
@@ -847,7 +945,7 @@ return /******/ (function(modules) { // webpackBootstrap
847
945
  module.exports = exports['default'];
848
946
 
849
947
  /***/ },
850
- /* 16 */
948
+ /* 19 */
851
949
  /***/ function(module, exports, __webpack_require__) {
852
950
 
853
951
  'use strict';
@@ -898,7 +996,7 @@ return /******/ (function(modules) { // webpackBootstrap
898
996
  module.exports = exports['default'];
899
997
 
900
998
  /***/ },
901
- /* 17 */
999
+ /* 20 */
902
1000
  /***/ function(module, exports) {
903
1001
 
904
1002
  // Build out our basic SafeString type
@@ -917,7 +1015,7 @@ return /******/ (function(modules) { // webpackBootstrap
917
1015
  module.exports = exports['default'];
918
1016
 
919
1017
  /***/ },
920
- /* 18 */
1018
+ /* 21 */
921
1019
  /***/ function(module, exports, __webpack_require__) {
922
1020
 
923
1021
  'use strict';
@@ -1082,7 +1180,7 @@ return /******/ (function(modules) { // webpackBootstrap
1082
1180
  blockParams = templateSpec.useBlockParams ? [] : undefined;
1083
1181
  if (templateSpec.useDepths) {
1084
1182
  if (options.depths) {
1085
- depths = context !== options.depths[0] ? [context].concat(options.depths) : options.depths;
1183
+ depths = context != options.depths[0] ? [context].concat(options.depths) : options.depths;
1086
1184
  } else {
1087
1185
  depths = [context];
1088
1186
  }
@@ -1131,7 +1229,7 @@ return /******/ (function(modules) { // webpackBootstrap
1131
1229
  var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
1132
1230
 
1133
1231
  var currentDepths = depths;
1134
- if (depths && context !== depths[0]) {
1232
+ if (depths && context != depths[0]) {
1135
1233
  currentDepths = [context].concat(depths);
1136
1234
  }
1137
1235
 
@@ -1149,7 +1247,12 @@ return /******/ (function(modules) { // webpackBootstrap
1149
1247
  function resolvePartial(partial, context, options) {
1150
1248
  if (!partial) {
1151
1249
  if (options.name === '@partial-block') {
1152
- partial = options.data['partial-block'];
1250
+ var data = options.data;
1251
+ while (data['partial-block'] === noop) {
1252
+ data = data._parent;
1253
+ }
1254
+ partial = data['partial-block'];
1255
+ data['partial-block'] = noop;
1153
1256
  } else {
1154
1257
  partial = options.partials[options.name];
1155
1258
  }
@@ -1210,7 +1313,7 @@ return /******/ (function(modules) { // webpackBootstrap
1210
1313
  }
1211
1314
 
1212
1315
  /***/ },
1213
- /* 19 */
1316
+ /* 22 */
1214
1317
  /***/ function(module, exports) {
1215
1318
 
1216
1319
  /* WEBPACK VAR INJECTION */(function(global) {/* global window */
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: handlebars-source
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.5
4
+ version: 4.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yehuda Katz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-18 00:00:00.000000000 Z
11
+ date: 2016-11-12 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Handlebars.js source code wrapper for (pre)compilation gems.
14
14
  email:
@@ -30,17 +30,17 @@ require_paths:
30
30
  - lib
31
31
  required_ruby_version: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - ">="
33
+ - - ! '>='
34
34
  - !ruby/object:Gem::Version
35
35
  version: '0'
36
36
  required_rubygems_version: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - ! '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  requirements: []
42
42
  rubyforge_project:
43
- rubygems_version: 2.4.5
43
+ rubygems_version: 2.4.8
44
44
  signing_key:
45
45
  specification_version: 4
46
46
  summary: Handlebars.js source code wrapper