handlebars-source 1.1.1 → 1.1.2

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.

Potentially problematic release.


This version of handlebars-source might be problematic. Click here for more details.

Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/handlebars.js +68 -88
  3. data/handlebars.runtime.js +26 -48
  4. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c13e53e21d47ee3d822c7571632f452f642d21fb
4
- data.tar.gz: b32db7554d4360479612b584df061c89b4833818
3
+ metadata.gz: 7a78fffe0a98d67f6868319e2a20fa5f51358e96
4
+ data.tar.gz: b0d53e5048cedbc652af75746331ed9cfac9425b
5
5
  SHA512:
6
- metadata.gz: ed24f51ba99e8a5d9f4e6083fd7fad2462e9e60e59474722cfc23fc5258ed402d5762901e8638a706962549aab36d2249c32c1b94f3d12a97d8f26bd77de5fa2
7
- data.tar.gz: 4f4cbd8b65cf5ebf6c250bba7dba1e5090d6f0300420a427b6db550a25a91f723c535d95db3776b2c33728c8f0b694938327c27a1834b1b7cebf059dd98d92e4
6
+ metadata.gz: 7eee27d2f808337cfdb9faab51f6dc77e255fd4a33ae6d4b4d3075934f5e102cc1a1f6c61c15a648494682197acca9491350e2b37225dd2e7e2f217d703e23f9
7
+ data.tar.gz: a9f8c5c0696a566fd3abb2a1bed5186d5db8d2b78afa6f7c0a219530498493b4834e6d2e46c46643225e3f060d87ec9986e7ea322b984ae84c5c52d76451d051
@@ -1,32 +1,6 @@
1
1
  /*!
2
2
 
3
- handlebars v1.1.1
4
-
5
- Copyright (C) 2011 by Yehuda Katz
6
-
7
- Permission is hereby granted, free of charge, to any person obtaining a copy
8
- of this software and associated documentation files (the "Software"), to deal
9
- in the Software without restriction, including without limitation the rights
10
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
- copies of the Software, and to permit persons to whom the Software is
12
- furnished to do so, subject to the following conditions:
13
-
14
- The above copyright notice and this permission notice shall be included in
15
- all copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
- THE SOFTWARE.
24
-
25
- @license
26
- */
27
- /*!
28
-
29
- handlebars v1.1.1
3
+ handlebars v1.1.2
30
4
 
31
5
  Copyright (C) 2011 by Yehuda Katz
32
6
 
@@ -74,8 +48,6 @@ var __module3__ = (function(__dependency1__) {
74
48
  var __exports__ = {};
75
49
  var SafeString = __dependency1__;
76
50
 
77
- var isArray = Array.isArray;
78
-
79
51
  var escape = {
80
52
  "&": "&",
81
53
  "<": "&lt;",
@@ -100,7 +72,27 @@ var __module3__ = (function(__dependency1__) {
100
72
  }
101
73
  }
102
74
 
103
- __exports__.extend = extend;function escapeExpression(string) {
75
+ __exports__.extend = extend;var toString = Object.prototype.toString;
76
+ __exports__.toString = toString;
77
+ // Sourced from lodash
78
+ // https://github.com/bestiejs/lodash/blob/master/LICENSE.txt
79
+ var isFunction = function(value) {
80
+ return typeof value === 'function';
81
+ };
82
+ // fallback for older versions of Chrome and Safari
83
+ if (isFunction(/x/)) {
84
+ isFunction = function(value) {
85
+ return typeof value === 'function' && toString.call(value) === '[object Function]';
86
+ };
87
+ }
88
+ var isFunction;
89
+ __exports__.isFunction = isFunction;
90
+ var isArray = Array.isArray || function(value) {
91
+ return (value && typeof value === 'object') ? toString.call(value) === '[object Array]' : false;
92
+ };
93
+ __exports__.isArray = isArray;
94
+
95
+ function escapeExpression(string) {
104
96
  // don't escape SafeStrings, since they're already safe
105
97
  if (string instanceof SafeString) {
106
98
  return string.toString();
@@ -161,7 +153,7 @@ var __module2__ = (function(__dependency1__, __dependency2__) {
161
153
  var Utils = __dependency1__;
162
154
  var Exception = __dependency2__;
163
155
 
164
- var VERSION = "1.1.1";
156
+ var VERSION = "1.1.2";
165
157
  __exports__.VERSION = VERSION;var COMPILER_REVISION = 4;
166
158
  __exports__.COMPILER_REVISION = COMPILER_REVISION;
167
159
  var REVISION_CHANGES = {
@@ -171,25 +163,11 @@ var __module2__ = (function(__dependency1__, __dependency2__) {
171
163
  4: '>= 1.0.0'
172
164
  };
173
165
  __exports__.REVISION_CHANGES = REVISION_CHANGES;
174
- var toString = Object.prototype.toString,
166
+ var isArray = Utils.isArray,
167
+ isFunction = Utils.isFunction,
168
+ toString = Utils.toString,
175
169
  objectType = '[object Object]';
176
170
 
177
- // Sourced from lodash
178
- // https://github.com/bestiejs/lodash/blob/master/LICENSE.txt
179
- var isFunction = function(value) {
180
- return typeof value === 'function';
181
- };
182
- // fallback for older versions of Chrome and Safari
183
- if (isFunction(/x/)) {
184
- isFunction = function(value) {
185
- return typeof value === 'function' && toString.call(value) === '[object Function]';
186
- };
187
- }
188
-
189
- function isArray(value) {
190
- return (value && typeof value === 'object') ? toString.call(value) === '[object Array]' : false;
191
- }
192
-
193
171
  function HandlebarsEnvironment(helpers, partials) {
194
172
  this.helpers = helpers || {};
195
173
  this.partials = partials || {};
@@ -700,99 +678,101 @@ var __module9__ = (function() {
700
678
  yy: {},
701
679
  symbols_: {"error":2,"root":3,"statements":4,"EOF":5,"program":6,"simpleInverse":7,"statement":8,"openInverse":9,"closeBlock":10,"openBlock":11,"mustache":12,"partial":13,"CONTENT":14,"COMMENT":15,"OPEN_BLOCK":16,"inMustache":17,"CLOSE":18,"OPEN_INVERSE":19,"OPEN_ENDBLOCK":20,"path":21,"OPEN":22,"OPEN_UNESCAPED":23,"CLOSE_UNESCAPED":24,"OPEN_PARTIAL":25,"partialName":26,"partial_option0":27,"inMustache_repetition0":28,"inMustache_option0":29,"dataName":30,"param":31,"STRING":32,"INTEGER":33,"BOOLEAN":34,"hash":35,"hash_repetition_plus0":36,"hashSegment":37,"ID":38,"EQUALS":39,"DATA":40,"pathSegments":41,"SEP":42,"$accept":0,"$end":1},
702
680
  terminals_: {2:"error",5:"EOF",14:"CONTENT",15:"COMMENT",16:"OPEN_BLOCK",18:"CLOSE",19:"OPEN_INVERSE",20:"OPEN_ENDBLOCK",22:"OPEN",23:"OPEN_UNESCAPED",24:"CLOSE_UNESCAPED",25:"OPEN_PARTIAL",32:"STRING",33:"INTEGER",34:"BOOLEAN",38:"ID",39:"EQUALS",40:"DATA",42:"SEP"},
703
- productions_: [0,[3,2],[6,2],[6,3],[6,2],[6,1],[6,1],[6,0],[4,1],[4,2],[8,3],[8,3],[8,1],[8,1],[8,1],[8,1],[11,3],[9,3],[10,3],[12,3],[12,3],[13,4],[7,2],[17,3],[17,1],[31,1],[31,1],[31,1],[31,1],[31,1],[35,1],[37,3],[26,1],[26,1],[26,1],[30,2],[21,1],[41,3],[41,1],[27,0],[27,1],[28,0],[28,2],[29,0],[29,1],[36,1],[36,2]],
681
+ productions_: [0,[3,2],[3,1],[6,2],[6,3],[6,2],[6,1],[6,1],[6,0],[4,1],[4,2],[8,3],[8,3],[8,1],[8,1],[8,1],[8,1],[11,3],[9,3],[10,3],[12,3],[12,3],[13,4],[7,2],[17,3],[17,1],[31,1],[31,1],[31,1],[31,1],[31,1],[35,1],[37,3],[26,1],[26,1],[26,1],[30,2],[21,1],[41,3],[41,1],[27,0],[27,1],[28,0],[28,2],[29,0],[29,1],[36,1],[36,2]],
704
682
  performAction: function anonymous(yytext,yyleng,yylineno,yy,yystate,$$,_$) {
705
683
 
706
684
  var $0 = $$.length - 1;
707
685
  switch (yystate) {
708
686
  case 1: return new yy.ProgramNode($$[$0-1]);
709
687
  break;
710
- case 2:this.$ = new yy.ProgramNode([], $$[$0-1], $$[$0]);
688
+ case 2: return new yy.ProgramNode([]);
711
689
  break;
712
- case 3:this.$ = new yy.ProgramNode($$[$0-2], $$[$0-1], $$[$0]);
690
+ case 3:this.$ = new yy.ProgramNode([], $$[$0-1], $$[$0]);
713
691
  break;
714
- case 4:this.$ = new yy.ProgramNode($$[$0-1], $$[$0], []);
692
+ case 4:this.$ = new yy.ProgramNode($$[$0-2], $$[$0-1], $$[$0]);
715
693
  break;
716
- case 5:this.$ = new yy.ProgramNode($$[$0]);
694
+ case 5:this.$ = new yy.ProgramNode($$[$0-1], $$[$0], []);
717
695
  break;
718
- case 6:this.$ = new yy.ProgramNode([]);
696
+ case 6:this.$ = new yy.ProgramNode($$[$0]);
719
697
  break;
720
698
  case 7:this.$ = new yy.ProgramNode([]);
721
699
  break;
722
- case 8:this.$ = [$$[$0]];
700
+ case 8:this.$ = new yy.ProgramNode([]);
723
701
  break;
724
- case 9: $$[$0-1].push($$[$0]); this.$ = $$[$0-1];
702
+ case 9:this.$ = [$$[$0]];
725
703
  break;
726
- case 10:this.$ = new yy.BlockNode($$[$0-2], $$[$0-1].inverse, $$[$0-1], $$[$0]);
704
+ case 10: $$[$0-1].push($$[$0]); this.$ = $$[$0-1];
727
705
  break;
728
- case 11:this.$ = new yy.BlockNode($$[$0-2], $$[$0-1], $$[$0-1].inverse, $$[$0]);
706
+ case 11:this.$ = new yy.BlockNode($$[$0-2], $$[$0-1].inverse, $$[$0-1], $$[$0]);
729
707
  break;
730
- case 12:this.$ = $$[$0];
708
+ case 12:this.$ = new yy.BlockNode($$[$0-2], $$[$0-1], $$[$0-1].inverse, $$[$0]);
731
709
  break;
732
710
  case 13:this.$ = $$[$0];
733
711
  break;
734
- case 14:this.$ = new yy.ContentNode($$[$0]);
712
+ case 14:this.$ = $$[$0];
735
713
  break;
736
- case 15:this.$ = new yy.CommentNode($$[$0]);
714
+ case 15:this.$ = new yy.ContentNode($$[$0]);
737
715
  break;
738
- case 16:this.$ = new yy.MustacheNode($$[$0-1][0], $$[$0-1][1], $$[$0-2], stripFlags($$[$0-2], $$[$0]));
716
+ case 16:this.$ = new yy.CommentNode($$[$0]);
739
717
  break;
740
718
  case 17:this.$ = new yy.MustacheNode($$[$0-1][0], $$[$0-1][1], $$[$0-2], stripFlags($$[$0-2], $$[$0]));
741
719
  break;
742
- case 18:this.$ = {path: $$[$0-1], strip: stripFlags($$[$0-2], $$[$0])};
720
+ case 18:this.$ = new yy.MustacheNode($$[$0-1][0], $$[$0-1][1], $$[$0-2], stripFlags($$[$0-2], $$[$0]));
743
721
  break;
744
- case 19:this.$ = new yy.MustacheNode($$[$0-1][0], $$[$0-1][1], $$[$0-2], stripFlags($$[$0-2], $$[$0]));
722
+ case 19:this.$ = {path: $$[$0-1], strip: stripFlags($$[$0-2], $$[$0])};
745
723
  break;
746
724
  case 20:this.$ = new yy.MustacheNode($$[$0-1][0], $$[$0-1][1], $$[$0-2], stripFlags($$[$0-2], $$[$0]));
747
725
  break;
748
- case 21:this.$ = new yy.PartialNode($$[$0-2], $$[$0-1], stripFlags($$[$0-3], $$[$0]));
726
+ case 21:this.$ = new yy.MustacheNode($$[$0-1][0], $$[$0-1][1], $$[$0-2], stripFlags($$[$0-2], $$[$0]));
727
+ break;
728
+ case 22:this.$ = new yy.PartialNode($$[$0-2], $$[$0-1], stripFlags($$[$0-3], $$[$0]));
749
729
  break;
750
- case 22:this.$ = stripFlags($$[$0-1], $$[$0]);
730
+ case 23:this.$ = stripFlags($$[$0-1], $$[$0]);
751
731
  break;
752
- case 23:this.$ = [[$$[$0-2]].concat($$[$0-1]), $$[$0]];
732
+ case 24:this.$ = [[$$[$0-2]].concat($$[$0-1]), $$[$0]];
753
733
  break;
754
- case 24:this.$ = [[$$[$0]], null];
734
+ case 25:this.$ = [[$$[$0]], null];
755
735
  break;
756
- case 25:this.$ = $$[$0];
736
+ case 26:this.$ = $$[$0];
757
737
  break;
758
- case 26:this.$ = new yy.StringNode($$[$0]);
738
+ case 27:this.$ = new yy.StringNode($$[$0]);
759
739
  break;
760
- case 27:this.$ = new yy.IntegerNode($$[$0]);
740
+ case 28:this.$ = new yy.IntegerNode($$[$0]);
761
741
  break;
762
- case 28:this.$ = new yy.BooleanNode($$[$0]);
742
+ case 29:this.$ = new yy.BooleanNode($$[$0]);
763
743
  break;
764
- case 29:this.$ = $$[$0];
744
+ case 30:this.$ = $$[$0];
765
745
  break;
766
- case 30:this.$ = new yy.HashNode($$[$0]);
746
+ case 31:this.$ = new yy.HashNode($$[$0]);
767
747
  break;
768
- case 31:this.$ = [$$[$0-2], $$[$0]];
748
+ case 32:this.$ = [$$[$0-2], $$[$0]];
769
749
  break;
770
- case 32:this.$ = new yy.PartialNameNode($$[$0]);
750
+ case 33:this.$ = new yy.PartialNameNode($$[$0]);
771
751
  break;
772
- case 33:this.$ = new yy.PartialNameNode(new yy.StringNode($$[$0]));
752
+ case 34:this.$ = new yy.PartialNameNode(new yy.StringNode($$[$0]));
773
753
  break;
774
- case 34:this.$ = new yy.PartialNameNode(new yy.IntegerNode($$[$0]));
754
+ case 35:this.$ = new yy.PartialNameNode(new yy.IntegerNode($$[$0]));
775
755
  break;
776
- case 35:this.$ = new yy.DataNode($$[$0]);
756
+ case 36:this.$ = new yy.DataNode($$[$0]);
777
757
  break;
778
- case 36:this.$ = new yy.IdNode($$[$0]);
758
+ case 37:this.$ = new yy.IdNode($$[$0]);
779
759
  break;
780
- case 37: $$[$0-2].push({part: $$[$0], separator: $$[$0-1]}); this.$ = $$[$0-2];
760
+ case 38: $$[$0-2].push({part: $$[$0], separator: $$[$0-1]}); this.$ = $$[$0-2];
781
761
  break;
782
- case 38:this.$ = [{part: $$[$0]}];
762
+ case 39:this.$ = [{part: $$[$0]}];
783
763
  break;
784
- case 41:this.$ = [];
764
+ case 42:this.$ = [];
785
765
  break;
786
- case 42:$$[$0-1].push($$[$0]);
766
+ case 43:$$[$0-1].push($$[$0]);
787
767
  break;
788
- case 45:this.$ = [$$[$0]];
768
+ case 46:this.$ = [$$[$0]];
789
769
  break;
790
- case 46:$$[$0-1].push($$[$0]);
770
+ case 47:$$[$0-1].push($$[$0]);
791
771
  break;
792
772
  }
793
773
  },
794
- table: [{3:1,4:2,8:3,9:4,11:5,12:6,13:7,14:[1,8],15:[1,9],16:[1,11],19:[1,10],22:[1,12],23:[1,13],25:[1,14]},{1:[3]},{5:[1,15],8:16,9:4,11:5,12:6,13:7,14:[1,8],15:[1,9],16:[1,11],19:[1,10],22:[1,12],23:[1,13],25:[1,14]},{5:[2,8],14:[2,8],15:[2,8],16:[2,8],19:[2,8],20:[2,8],22:[2,8],23:[2,8],25:[2,8]},{4:19,6:17,7:18,8:3,9:4,11:5,12:6,13:7,14:[1,8],15:[1,9],16:[1,11],19:[1,20],20:[2,7],22:[1,12],23:[1,13],25:[1,14]},{4:19,6:21,7:18,8:3,9:4,11:5,12:6,13:7,14:[1,8],15:[1,9],16:[1,11],19:[1,20],20:[2,7],22:[1,12],23:[1,13],25:[1,14]},{5:[2,12],14:[2,12],15:[2,12],16:[2,12],19:[2,12],20:[2,12],22:[2,12],23:[2,12],25:[2,12]},{5:[2,13],14:[2,13],15:[2,13],16:[2,13],19:[2,13],20:[2,13],22:[2,13],23:[2,13],25:[2,13]},{5:[2,14],14:[2,14],15:[2,14],16:[2,14],19:[2,14],20:[2,14],22:[2,14],23:[2,14],25:[2,14]},{5:[2,15],14:[2,15],15:[2,15],16:[2,15],19:[2,15],20:[2,15],22:[2,15],23:[2,15],25:[2,15]},{17:22,21:23,30:24,38:[1,27],40:[1,26],41:25},{17:28,21:23,30:24,38:[1,27],40:[1,26],41:25},{17:29,21:23,30:24,38:[1,27],40:[1,26],41:25},{17:30,21:23,30:24,38:[1,27],40:[1,26],41:25},{21:32,26:31,32:[1,33],33:[1,34],38:[1,27],41:25},{1:[2,1]},{5:[2,9],14:[2,9],15:[2,9],16:[2,9],19:[2,9],20:[2,9],22:[2,9],23:[2,9],25:[2,9]},{10:35,20:[1,36]},{4:37,8:3,9:4,11:5,12:6,13:7,14:[1,8],15:[1,9],16:[1,11],19:[1,10],20:[2,6],22:[1,12],23:[1,13],25:[1,14]},{7:38,8:16,9:4,11:5,12:6,13:7,14:[1,8],15:[1,9],16:[1,11],19:[1,20],20:[2,5],22:[1,12],23:[1,13],25:[1,14]},{17:22,18:[1,39],21:23,30:24,38:[1,27],40:[1,26],41:25},{10:40,20:[1,36]},{18:[1,41]},{18:[2,41],24:[2,41],28:42,32:[2,41],33:[2,41],34:[2,41],38:[2,41],40:[2,41]},{18:[2,24],24:[2,24]},{18:[2,36],24:[2,36],32:[2,36],33:[2,36],34:[2,36],38:[2,36],40:[2,36],42:[1,43]},{21:44,38:[1,27],41:25},{18:[2,38],24:[2,38],32:[2,38],33:[2,38],34:[2,38],38:[2,38],40:[2,38],42:[2,38]},{18:[1,45]},{18:[1,46]},{24:[1,47]},{18:[2,39],21:49,27:48,38:[1,27],41:25},{18:[2,32],38:[2,32]},{18:[2,33],38:[2,33]},{18:[2,34],38:[2,34]},{5:[2,10],14:[2,10],15:[2,10],16:[2,10],19:[2,10],20:[2,10],22:[2,10],23:[2,10],25:[2,10]},{21:50,38:[1,27],41:25},{8:16,9:4,11:5,12:6,13:7,14:[1,8],15:[1,9],16:[1,11],19:[1,10],20:[2,2],22:[1,12],23:[1,13],25:[1,14]},{4:51,8:3,9:4,11:5,12:6,13:7,14:[1,8],15:[1,9],16:[1,11],19:[1,10],20:[2,4],22:[1,12],23:[1,13],25:[1,14]},{14:[2,22],15:[2,22],16:[2,22],19:[2,22],20:[2,22],22:[2,22],23:[2,22],25:[2,22]},{5:[2,11],14:[2,11],15:[2,11],16:[2,11],19:[2,11],20:[2,11],22:[2,11],23:[2,11],25:[2,11]},{14:[2,17],15:[2,17],16:[2,17],19:[2,17],20:[2,17],22:[2,17],23:[2,17],25:[2,17]},{18:[2,43],21:55,24:[2,43],29:52,30:59,31:53,32:[1,56],33:[1,57],34:[1,58],35:54,36:60,37:61,38:[1,62],40:[1,26],41:25},{38:[1,63]},{18:[2,35],24:[2,35],32:[2,35],33:[2,35],34:[2,35],38:[2,35],40:[2,35]},{14:[2,16],15:[2,16],16:[2,16],19:[2,16],20:[2,16],22:[2,16],23:[2,16],25:[2,16]},{5:[2,19],14:[2,19],15:[2,19],16:[2,19],19:[2,19],20:[2,19],22:[2,19],23:[2,19],25:[2,19]},{5:[2,20],14:[2,20],15:[2,20],16:[2,20],19:[2,20],20:[2,20],22:[2,20],23:[2,20],25:[2,20]},{18:[1,64]},{18:[2,40]},{18:[1,65]},{8:16,9:4,11:5,12:6,13:7,14:[1,8],15:[1,9],16:[1,11],19:[1,10],20:[2,3],22:[1,12],23:[1,13],25:[1,14]},{18:[2,23],24:[2,23]},{18:[2,42],24:[2,42],32:[2,42],33:[2,42],34:[2,42],38:[2,42],40:[2,42]},{18:[2,44],24:[2,44]},{18:[2,25],24:[2,25],32:[2,25],33:[2,25],34:[2,25],38:[2,25],40:[2,25]},{18:[2,26],24:[2,26],32:[2,26],33:[2,26],34:[2,26],38:[2,26],40:[2,26]},{18:[2,27],24:[2,27],32:[2,27],33:[2,27],34:[2,27],38:[2,27],40:[2,27]},{18:[2,28],24:[2,28],32:[2,28],33:[2,28],34:[2,28],38:[2,28],40:[2,28]},{18:[2,29],24:[2,29],32:[2,29],33:[2,29],34:[2,29],38:[2,29],40:[2,29]},{18:[2,30],24:[2,30],37:66,38:[1,67]},{18:[2,45],24:[2,45],38:[2,45]},{18:[2,38],24:[2,38],32:[2,38],33:[2,38],34:[2,38],38:[2,38],39:[1,68],40:[2,38],42:[2,38]},{18:[2,37],24:[2,37],32:[2,37],33:[2,37],34:[2,37],38:[2,37],40:[2,37],42:[2,37]},{5:[2,21],14:[2,21],15:[2,21],16:[2,21],19:[2,21],20:[2,21],22:[2,21],23:[2,21],25:[2,21]},{5:[2,18],14:[2,18],15:[2,18],16:[2,18],19:[2,18],20:[2,18],22:[2,18],23:[2,18],25:[2,18]},{18:[2,46],24:[2,46],38:[2,46]},{39:[1,68]},{21:55,30:59,31:69,32:[1,56],33:[1,57],34:[1,58],38:[1,27],40:[1,26],41:25},{18:[2,31],24:[2,31],38:[2,31]}],
795
- defaultActions: {15:[2,1],49:[2,40]},
774
+ table: [{3:1,4:2,5:[1,3],8:4,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,11],22:[1,13],23:[1,14],25:[1,15]},{1:[3]},{5:[1,16],8:17,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,11],22:[1,13],23:[1,14],25:[1,15]},{1:[2,2]},{5:[2,9],14:[2,9],15:[2,9],16:[2,9],19:[2,9],20:[2,9],22:[2,9],23:[2,9],25:[2,9]},{4:20,6:18,7:19,8:4,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,21],20:[2,8],22:[1,13],23:[1,14],25:[1,15]},{4:20,6:22,7:19,8:4,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,21],20:[2,8],22:[1,13],23:[1,14],25:[1,15]},{5:[2,13],14:[2,13],15:[2,13],16:[2,13],19:[2,13],20:[2,13],22:[2,13],23:[2,13],25:[2,13]},{5:[2,14],14:[2,14],15:[2,14],16:[2,14],19:[2,14],20:[2,14],22:[2,14],23:[2,14],25:[2,14]},{5:[2,15],14:[2,15],15:[2,15],16:[2,15],19:[2,15],20:[2,15],22:[2,15],23:[2,15],25:[2,15]},{5:[2,16],14:[2,16],15:[2,16],16:[2,16],19:[2,16],20:[2,16],22:[2,16],23:[2,16],25:[2,16]},{17:23,21:24,30:25,38:[1,28],40:[1,27],41:26},{17:29,21:24,30:25,38:[1,28],40:[1,27],41:26},{17:30,21:24,30:25,38:[1,28],40:[1,27],41:26},{17:31,21:24,30:25,38:[1,28],40:[1,27],41:26},{21:33,26:32,32:[1,34],33:[1,35],38:[1,28],41:26},{1:[2,1]},{5:[2,10],14:[2,10],15:[2,10],16:[2,10],19:[2,10],20:[2,10],22:[2,10],23:[2,10],25:[2,10]},{10:36,20:[1,37]},{4:38,8:4,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,11],20:[2,7],22:[1,13],23:[1,14],25:[1,15]},{7:39,8:17,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,21],20:[2,6],22:[1,13],23:[1,14],25:[1,15]},{17:23,18:[1,40],21:24,30:25,38:[1,28],40:[1,27],41:26},{10:41,20:[1,37]},{18:[1,42]},{18:[2,42],24:[2,42],28:43,32:[2,42],33:[2,42],34:[2,42],38:[2,42],40:[2,42]},{18:[2,25],24:[2,25]},{18:[2,37],24:[2,37],32:[2,37],33:[2,37],34:[2,37],38:[2,37],40:[2,37],42:[1,44]},{21:45,38:[1,28],41:26},{18:[2,39],24:[2,39],32:[2,39],33:[2,39],34:[2,39],38:[2,39],40:[2,39],42:[2,39]},{18:[1,46]},{18:[1,47]},{24:[1,48]},{18:[2,40],21:50,27:49,38:[1,28],41:26},{18:[2,33],38:[2,33]},{18:[2,34],38:[2,34]},{18:[2,35],38:[2,35]},{5:[2,11],14:[2,11],15:[2,11],16:[2,11],19:[2,11],20:[2,11],22:[2,11],23:[2,11],25:[2,11]},{21:51,38:[1,28],41:26},{8:17,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,11],20:[2,3],22:[1,13],23:[1,14],25:[1,15]},{4:52,8:4,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,11],20:[2,5],22:[1,13],23:[1,14],25:[1,15]},{14:[2,23],15:[2,23],16:[2,23],19:[2,23],20:[2,23],22:[2,23],23:[2,23],25:[2,23]},{5:[2,12],14:[2,12],15:[2,12],16:[2,12],19:[2,12],20:[2,12],22:[2,12],23:[2,12],25:[2,12]},{14:[2,18],15:[2,18],16:[2,18],19:[2,18],20:[2,18],22:[2,18],23:[2,18],25:[2,18]},{18:[2,44],21:56,24:[2,44],29:53,30:60,31:54,32:[1,57],33:[1,58],34:[1,59],35:55,36:61,37:62,38:[1,63],40:[1,27],41:26},{38:[1,64]},{18:[2,36],24:[2,36],32:[2,36],33:[2,36],34:[2,36],38:[2,36],40:[2,36]},{14:[2,17],15:[2,17],16:[2,17],19:[2,17],20:[2,17],22:[2,17],23:[2,17],25:[2,17]},{5:[2,20],14:[2,20],15:[2,20],16:[2,20],19:[2,20],20:[2,20],22:[2,20],23:[2,20],25:[2,20]},{5:[2,21],14:[2,21],15:[2,21],16:[2,21],19:[2,21],20:[2,21],22:[2,21],23:[2,21],25:[2,21]},{18:[1,65]},{18:[2,41]},{18:[1,66]},{8:17,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,11],20:[2,4],22:[1,13],23:[1,14],25:[1,15]},{18:[2,24],24:[2,24]},{18:[2,43],24:[2,43],32:[2,43],33:[2,43],34:[2,43],38:[2,43],40:[2,43]},{18:[2,45],24:[2,45]},{18:[2,26],24:[2,26],32:[2,26],33:[2,26],34:[2,26],38:[2,26],40:[2,26]},{18:[2,27],24:[2,27],32:[2,27],33:[2,27],34:[2,27],38:[2,27],40:[2,27]},{18:[2,28],24:[2,28],32:[2,28],33:[2,28],34:[2,28],38:[2,28],40:[2,28]},{18:[2,29],24:[2,29],32:[2,29],33:[2,29],34:[2,29],38:[2,29],40:[2,29]},{18:[2,30],24:[2,30],32:[2,30],33:[2,30],34:[2,30],38:[2,30],40:[2,30]},{18:[2,31],24:[2,31],37:67,38:[1,68]},{18:[2,46],24:[2,46],38:[2,46]},{18:[2,39],24:[2,39],32:[2,39],33:[2,39],34:[2,39],38:[2,39],39:[1,69],40:[2,39],42:[2,39]},{18:[2,38],24:[2,38],32:[2,38],33:[2,38],34:[2,38],38:[2,38],40:[2,38],42:[2,38]},{5:[2,22],14:[2,22],15:[2,22],16:[2,22],19:[2,22],20:[2,22],22:[2,22],23:[2,22],25:[2,22]},{5:[2,19],14:[2,19],15:[2,19],16:[2,19],19:[2,19],20:[2,19],22:[2,19],23:[2,19],25:[2,19]},{18:[2,47],24:[2,47],38:[2,47]},{39:[1,69]},{21:56,30:60,31:70,32:[1,57],33:[1,58],34:[1,59],38:[1,28],40:[1,27],41:26},{18:[2,32],24:[2,32],38:[2,32]}],
775
+ defaultActions: {3:[2,2],16:[2,1],50:[2,41]},
796
776
  parseError: function parseError(str, hash) {
797
777
  throw new Error(str);
798
778
  },
@@ -1,32 +1,6 @@
1
1
  /*!
2
2
 
3
- handlebars v1.1.1
4
-
5
- Copyright (C) 2011 by Yehuda Katz
6
-
7
- Permission is hereby granted, free of charge, to any person obtaining a copy
8
- of this software and associated documentation files (the "Software"), to deal
9
- in the Software without restriction, including without limitation the rights
10
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
- copies of the Software, and to permit persons to whom the Software is
12
- furnished to do so, subject to the following conditions:
13
-
14
- The above copyright notice and this permission notice shall be included in
15
- all copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
- THE SOFTWARE.
24
-
25
- @license
26
- */
27
- /*!
28
-
29
- handlebars v1.1.1
3
+ handlebars v1.1.2
30
4
 
31
5
  Copyright (C) 2011 by Yehuda Katz
32
6
 
@@ -74,8 +48,6 @@ var __module2__ = (function(__dependency1__) {
74
48
  var __exports__ = {};
75
49
  var SafeString = __dependency1__;
76
50
 
77
- var isArray = Array.isArray;
78
-
79
51
  var escape = {
80
52
  "&": "&amp;",
81
53
  "<": "&lt;",
@@ -100,7 +72,27 @@ var __module2__ = (function(__dependency1__) {
100
72
  }
101
73
  }
102
74
 
103
- __exports__.extend = extend;function escapeExpression(string) {
75
+ __exports__.extend = extend;var toString = Object.prototype.toString;
76
+ __exports__.toString = toString;
77
+ // Sourced from lodash
78
+ // https://github.com/bestiejs/lodash/blob/master/LICENSE.txt
79
+ var isFunction = function(value) {
80
+ return typeof value === 'function';
81
+ };
82
+ // fallback for older versions of Chrome and Safari
83
+ if (isFunction(/x/)) {
84
+ isFunction = function(value) {
85
+ return typeof value === 'function' && toString.call(value) === '[object Function]';
86
+ };
87
+ }
88
+ var isFunction;
89
+ __exports__.isFunction = isFunction;
90
+ var isArray = Array.isArray || function(value) {
91
+ return (value && typeof value === 'object') ? toString.call(value) === '[object Array]' : false;
92
+ };
93
+ __exports__.isArray = isArray;
94
+
95
+ function escapeExpression(string) {
104
96
  // don't escape SafeStrings, since they're already safe
105
97
  if (string instanceof SafeString) {
106
98
  return string.toString();
@@ -161,7 +153,7 @@ var __module1__ = (function(__dependency1__, __dependency2__) {
161
153
  var Utils = __dependency1__;
162
154
  var Exception = __dependency2__;
163
155
 
164
- var VERSION = "1.1.1";
156
+ var VERSION = "1.1.2";
165
157
  __exports__.VERSION = VERSION;var COMPILER_REVISION = 4;
166
158
  __exports__.COMPILER_REVISION = COMPILER_REVISION;
167
159
  var REVISION_CHANGES = {
@@ -171,25 +163,11 @@ var __module1__ = (function(__dependency1__, __dependency2__) {
171
163
  4: '>= 1.0.0'
172
164
  };
173
165
  __exports__.REVISION_CHANGES = REVISION_CHANGES;
174
- var toString = Object.prototype.toString,
166
+ var isArray = Utils.isArray,
167
+ isFunction = Utils.isFunction,
168
+ toString = Utils.toString,
175
169
  objectType = '[object Object]';
176
170
 
177
- // Sourced from lodash
178
- // https://github.com/bestiejs/lodash/blob/master/LICENSE.txt
179
- var isFunction = function(value) {
180
- return typeof value === 'function';
181
- };
182
- // fallback for older versions of Chrome and Safari
183
- if (isFunction(/x/)) {
184
- isFunction = function(value) {
185
- return typeof value === 'function' && toString.call(value) === '[object Function]';
186
- };
187
- }
188
-
189
- function isArray(value) {
190
- return (value && typeof value === 'object') ? toString.call(value) === '[object Array]' : false;
191
- }
192
-
193
171
  function HandlebarsEnvironment(helpers, partials) {
194
172
  this.helpers = helpers || {};
195
173
  this.partials = partials || {};
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: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yehuda Katz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-04 00:00:00.000000000 Z
11
+ date: 2013-11-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Handlebars.js source code wrapper for (pre)compilation gems.
14
14
  email:
@@ -39,8 +39,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
39
39
  version: '0'
40
40
  requirements: []
41
41
  rubyforge_project:
42
- rubygems_version: 2.1.9
42
+ rubygems_version: 2.0.6
43
43
  signing_key:
44
44
  specification_version: 4
45
45
  summary: Handlebars.js source code wrapper
46
46
  test_files: []
47
+ has_rdoc: