closure 1.5.5 → 1.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/closure/Closure.html +2 -2
- data/docs/closure/Closure/BeanShell.html +1 -1
- data/docs/closure/Closure/Compiler.html +1 -1
- data/docs/closure/Closure/Compiler/Compilation.html +100 -22
- data/docs/closure/Closure/Compiler/Error.html +1 -1
- data/docs/closure/Closure/FileResponse.html +1 -1
- data/docs/closure/Closure/Goog.html +34 -30
- data/docs/closure/Closure/Middleware.html +1 -1
- data/docs/closure/Closure/Script.html +1 -1
- data/docs/closure/Closure/Script/NotFound.html +1 -1
- data/docs/closure/Closure/Script/RenderStackOverflow.html +1 -1
- data/docs/closure/Closure/Server.html +1 -1
- data/docs/closure/Closure/ShowExceptions.html +1 -1
- data/docs/closure/Closure/Sources.html +1 -1
- data/docs/closure/Closure/Templates.html +1 -1
- data/docs/closure/Closure/Templates/Error.html +1 -1
- data/docs/closure/_index.html +1 -1
- data/docs/closure/file.LICENSE.html +1 -1
- data/docs/closure/file.README.html +1 -1
- data/docs/closure/index.html +1 -1
- data/docs/closure/method_list.html +66 -60
- data/docs/closure/top-level-namespace.html +1 -1
- data/lib/closure/compiler.rb +6 -0
- data/lib/closure/goog.rb +6 -4
- data/lib/closure/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f35121454d7a7dd972f0cadd6cea832eca957343
|
4
|
+
data.tar.gz: 2709781b3e93948ebecc2efdf40ecde02370595c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58f2b74f86174bb79691baeee16a6b2b9bb83a91973e60b40854625cc436eaf0926ed42fbbf93c18e5e1d13a032420a1ab70d8de2beadf931dc2aa0785cbc478
|
7
|
+
data.tar.gz: eeee3bf74872699a3b318ebeb66127259557f4a4dbc2440793db535e328f58fc1129495e59c93aff3c0768d4bb8451c7688273d989f935210519e0be05a86431
|
data/docs/closure/Closure.html
CHANGED
@@ -170,7 +170,7 @@ quickly.</p>
|
|
170
170
|
<dt id="VERSION-constant" class="">VERSION =
|
171
171
|
|
172
172
|
</dt>
|
173
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>1.5.
|
173
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>1.5.6</span><span class='tstring_end'>"</span></span></pre></dd>
|
174
174
|
|
175
175
|
</dl>
|
176
176
|
|
@@ -785,7 +785,7 @@ pairs configured with Closure.add_source().</p>
|
|
785
785
|
</div>
|
786
786
|
|
787
787
|
<div id="footer">
|
788
|
-
Generated on Fri Jan 27
|
788
|
+
Generated on Fri Jan 27 13:12:57 2017 by
|
789
789
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
790
790
|
0.8.7.6 (ruby-2.1.8).
|
791
791
|
</div>
|
@@ -338,7 +338,7 @@ conditions when the Java process is killed.</p>
|
|
338
338
|
</div>
|
339
339
|
|
340
340
|
<div id="footer">
|
341
|
-
Generated on Fri Jan 27
|
341
|
+
Generated on Fri Jan 27 13:12:58 2017 by
|
342
342
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
343
343
|
0.8.7.6 (ruby-2.1.8).
|
344
344
|
</div>
|
@@ -386,7 +386,7 @@ namespaces like <span class='object_link'><a href="Goog.html#compile-instance_me
|
|
386
386
|
</div>
|
387
387
|
|
388
388
|
<div id="footer">
|
389
|
-
Generated on Fri Jan 27
|
389
|
+
Generated on Fri Jan 27 13:12:58 2017 by
|
390
390
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
391
391
|
0.8.7.6 (ruby-2.1.8).
|
392
392
|
</div>
|
@@ -198,6 +198,30 @@
|
|
198
198
|
<p>Appends a string to the javascript.</p>
|
199
199
|
</div></span>
|
200
200
|
|
201
|
+
</li>
|
202
|
+
|
203
|
+
|
204
|
+
<li class="public ">
|
205
|
+
<span class="summary_signature">
|
206
|
+
|
207
|
+
<a href="#compiled%3F-instance_method" title="#compiled? (instance method)">- (Boolean) <strong>compiled?</strong> </a>
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
</span>
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
<span class="summary_desc"><div class='inline'>
|
222
|
+
<p>True when compilation actually happened.</p>
|
223
|
+
</div></span>
|
224
|
+
|
201
225
|
</li>
|
202
226
|
|
203
227
|
|
@@ -469,13 +493,13 @@
|
|
469
493
|
<pre class="lines">
|
470
494
|
|
471
495
|
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
496
|
+
138
|
497
|
+
139
|
498
|
+
140
|
499
|
+
141</pre>
|
476
500
|
</td>
|
477
501
|
<td>
|
478
|
-
<pre class="code"><span class="info file"># File 'lib/closure/compiler.rb', line
|
502
|
+
<pre class="code"><span class="info file"># File 'lib/closure/compiler.rb', line 138</span>
|
479
503
|
|
480
504
|
<span class='kw'>def</span> <span class='op'><<</span><span class='lparen'>(</span><span class='id identifier rubyid_javascript'>javascript</span><span class='rparen'>)</span>
|
481
505
|
<span class='ivar'>@javascript</span> <span class='op'><<</span> <span class='id identifier rubyid_javascript'>javascript</span>
|
@@ -484,6 +508,60 @@
|
|
484
508
|
</td>
|
485
509
|
</tr>
|
486
510
|
</table>
|
511
|
+
</div>
|
512
|
+
|
513
|
+
<div class="method_details ">
|
514
|
+
<h3 class="signature " id="compiled?-instance_method">
|
515
|
+
|
516
|
+
- (<tt>Boolean</tt>) <strong>compiled?</strong>
|
517
|
+
|
518
|
+
|
519
|
+
|
520
|
+
|
521
|
+
|
522
|
+
</h3><div class="docstring">
|
523
|
+
<div class="discussion">
|
524
|
+
|
525
|
+
<p>True when compilation actually happened. False when build was up to date.</p>
|
526
|
+
|
527
|
+
|
528
|
+
</div>
|
529
|
+
</div>
|
530
|
+
<div class="tags">
|
531
|
+
|
532
|
+
<p class="tag_title">Returns:</p>
|
533
|
+
<ul class="return">
|
534
|
+
|
535
|
+
<li>
|
536
|
+
|
537
|
+
|
538
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
539
|
+
|
540
|
+
|
541
|
+
|
542
|
+
</li>
|
543
|
+
|
544
|
+
</ul>
|
545
|
+
|
546
|
+
</div><table class="source_code">
|
547
|
+
<tr>
|
548
|
+
<td>
|
549
|
+
<pre class="lines">
|
550
|
+
|
551
|
+
|
552
|
+
106
|
553
|
+
107
|
554
|
+
108</pre>
|
555
|
+
</td>
|
556
|
+
<td>
|
557
|
+
<pre class="code"><span class="info file"># File 'lib/closure/compiler.rb', line 106</span>
|
558
|
+
|
559
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_compiled?'>compiled?</span>
|
560
|
+
<span class='op'>!</span><span class='op'>!</span><span class='ivar'>@log</span>
|
561
|
+
<span class='kw'>end</span></pre>
|
562
|
+
</td>
|
563
|
+
</tr>
|
564
|
+
</table>
|
487
565
|
</div>
|
488
566
|
|
489
567
|
<div class="method_details ">
|
@@ -524,17 +602,17 @@
|
|
524
602
|
<pre class="lines">
|
525
603
|
|
526
604
|
|
527
|
-
140
|
528
|
-
141
|
529
|
-
142
|
530
|
-
143
|
531
|
-
144
|
532
|
-
145
|
533
605
|
146
|
534
|
-
147
|
606
|
+
147
|
607
|
+
148
|
608
|
+
149
|
609
|
+
150
|
610
|
+
151
|
611
|
+
152
|
612
|
+
153</pre>
|
535
613
|
</td>
|
536
614
|
<td>
|
537
|
-
<pre class="code"><span class="info file"># File 'lib/closure/compiler.rb', line
|
615
|
+
<pre class="code"><span class="info file"># File 'lib/closure/compiler.rb', line 146</span>
|
538
616
|
|
539
617
|
<span class='kw'>def</span> <span class='id identifier rubyid_javascript'>javascript</span>
|
540
618
|
<span class='kw'>if</span> <span class='ivar'>@js_output_file</span>
|
@@ -598,12 +676,6 @@ the javascript console.</p>
|
|
598
676
|
<pre class="lines">
|
599
677
|
|
600
678
|
|
601
|
-
110
|
602
|
-
111
|
603
|
-
112
|
604
|
-
113
|
605
|
-
114
|
606
|
-
115
|
607
679
|
116
|
608
680
|
117
|
609
681
|
118
|
@@ -616,10 +688,16 @@ the javascript console.</p>
|
|
616
688
|
125
|
617
689
|
126
|
618
690
|
127
|
619
|
-
128
|
691
|
+
128
|
692
|
+
129
|
693
|
+
130
|
694
|
+
131
|
695
|
+
132
|
696
|
+
133
|
697
|
+
134</pre>
|
620
698
|
</td>
|
621
699
|
<td>
|
622
|
-
<pre class="code"><span class="info file"># File 'lib/closure/compiler.rb', line
|
700
|
+
<pre class="code"><span class="info file"># File 'lib/closure/compiler.rb', line 116</span>
|
623
701
|
|
624
702
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_response'>to_response</span>
|
625
703
|
<span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_log'>log</span> <span class='kw'>and</span> <span class='ivar'>@javascript</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span> <span class='kw'>and</span> <span class='ivar'>@js_output_file</span>
|
@@ -650,7 +728,7 @@ the javascript console.</p>
|
|
650
728
|
</div>
|
651
729
|
|
652
730
|
<div id="footer">
|
653
|
-
Generated on Fri Jan 27
|
731
|
+
Generated on Fri Jan 27 13:12:58 2017 by
|
654
732
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
655
733
|
0.8.7.6 (ruby-2.1.8).
|
656
734
|
</div>
|
@@ -114,7 +114,7 @@
|
|
114
114
|
</div>
|
115
115
|
|
116
116
|
<div id="footer">
|
117
|
-
Generated on Fri Jan 27
|
117
|
+
Generated on Fri Jan 27 13:12:58 2017 by
|
118
118
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
119
|
0.8.7.6 (ruby-2.1.8).
|
120
120
|
</div>
|
@@ -634,7 +634,7 @@ early.</p>
|
|
634
634
|
</div>
|
635
635
|
|
636
636
|
<div id="footer">
|
637
|
-
Generated on Fri Jan 27
|
637
|
+
Generated on Fri Jan 27 13:12:58 2017 by
|
638
638
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
639
639
|
0.8.7.6 (ruby-2.1.8).
|
640
640
|
</div>
|
@@ -605,12 +605,12 @@ without updating every html fixture page.</p>
|
|
605
605
|
<pre class="lines">
|
606
606
|
|
607
607
|
|
608
|
-
|
609
|
-
|
610
|
-
|
608
|
+
176
|
609
|
+
177
|
610
|
+
178</pre>
|
611
611
|
</td>
|
612
612
|
<td>
|
613
|
-
<pre class="code"><span class="info file"># File 'lib/closure/goog.rb', line
|
613
|
+
<pre class="code"><span class="info file"># File 'lib/closure/goog.rb', line 176</span>
|
614
614
|
|
615
615
|
<span class='kw'>def</span> <span class='id identifier rubyid_base_js'>base_js</span>
|
616
616
|
<span class='ivar'>@sources</span><span class='period'>.</span><span class='id identifier rubyid_base_js'>base_js</span><span class='lparen'>(</span><span class='ivar'>@env</span><span class='rparen'>)</span>
|
@@ -780,7 +780,9 @@ determine if compilation is to be performed.</p>
|
|
780
780
|
143
|
781
781
|
144
|
782
782
|
145
|
783
|
-
146
|
783
|
+
146
|
784
|
+
147
|
785
|
+
148</pre>
|
784
786
|
</td>
|
785
787
|
<td>
|
786
788
|
<pre class="code"><span class="info file"># File 'lib/closure/goog.rb', line 88</span>
|
@@ -824,10 +826,12 @@ determine if compilation is to be performed.</p>
|
|
824
826
|
<span class='id identifier rubyid_refresh'>refresh</span> <span class='comment'># compilation may add new files, module_uris_compiled uses src_for
|
825
827
|
</span> <span class='id identifier rubyid_prefix'>prefix</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span> <span class='id identifier rubyid_module_output_path_prefix'>module_output_path_prefix</span><span class='comma'>,</span> <span class='id identifier rubyid_root'>root</span>
|
826
828
|
<span class='kw'>if</span> <span class='id identifier rubyid_comp'>comp</span><span class='period'>.</span><span class='id identifier rubyid_js_output_file'>js_output_file</span>
|
827
|
-
<span class='
|
828
|
-
<span class='
|
829
|
-
|
830
|
-
|
829
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_comp'>comp</span><span class='period'>.</span><span class='id identifier rubyid_compiled?'>compiled?</span>
|
830
|
+
<span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_open'>open</span> <span class='id identifier rubyid_comp'>comp</span><span class='period'>.</span><span class='id identifier rubyid_js_output_file'>js_output_file</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>w</span><span class='tstring_end'>'</span></span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span>
|
831
|
+
<span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_write'>write</span> <span class='const'>Compiler</span><span class='op'>::</span><span class='const'>Util</span><span class='period'>.</span><span class='id identifier rubyid_module_path'>module_path</span> <span class='ivar'>@path</span>
|
832
|
+
<span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_write'>write</span> <span class='const'>Compiler</span><span class='op'>::</span><span class='const'>Util</span><span class='period'>.</span><span class='id identifier rubyid_module_info'>module_info</span> <span class='id identifier rubyid_mods'>mods</span>
|
833
|
+
<span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_write'>write</span> <span class='const'>Compiler</span><span class='op'>::</span><span class='const'>Util</span><span class='period'>.</span><span class='id identifier rubyid_module_uris_compiled'>module_uris_compiled</span> <span class='id identifier rubyid_mods'>mods</span><span class='comma'>,</span> <span class='ivar'>@sources</span><span class='comma'>,</span> <span class='id identifier rubyid_prefix'>prefix</span>
|
834
|
+
<span class='kw'>end</span>
|
831
835
|
<span class='kw'>end</span>
|
832
836
|
<span class='kw'>else</span>
|
833
837
|
<span class='id identifier rubyid_comp'>comp</span> <span class='op'><<</span> <span class='const'>Compiler</span><span class='op'>::</span><span class='const'>Util</span><span class='period'>.</span><span class='id identifier rubyid_module_path'>module_path</span><span class='lparen'>(</span><span class='ivar'>@path</span><span class='rparen'>)</span>
|
@@ -892,12 +896,12 @@ looking, or manually set CLOSURE_BASE_PATH.</p>
|
|
892
896
|
<pre class="lines">
|
893
897
|
|
894
898
|
|
895
|
-
|
896
|
-
|
897
|
-
|
899
|
+
186
|
900
|
+
187
|
901
|
+
188</pre>
|
898
902
|
</td>
|
899
903
|
<td>
|
900
|
-
<pre class="code"><span class="info file"># File 'lib/closure/goog.rb', line
|
904
|
+
<pre class="code"><span class="info file"># File 'lib/closure/goog.rb', line 186</span>
|
901
905
|
|
902
906
|
<span class='kw'>def</span> <span class='id identifier rubyid_deps_js'>deps_js</span>
|
903
907
|
<span class='ivar'>@sources</span><span class='period'>.</span><span class='id identifier rubyid_deps_js'>deps_js</span><span class='lparen'>(</span><span class='ivar'>@env</span><span class='rparen'>)</span>
|
@@ -958,12 +962,12 @@ looking, or manually set CLOSURE_BASE_PATH.</p>
|
|
958
962
|
<pre class="lines">
|
959
963
|
|
960
964
|
|
961
|
-
|
962
|
-
|
963
|
-
|
965
|
+
194
|
966
|
+
195
|
967
|
+
196</pre>
|
964
968
|
</td>
|
965
969
|
<td>
|
966
|
-
<pre class="code"><span class="info file"># File 'lib/closure/goog.rb', line
|
970
|
+
<pre class="code"><span class="info file"># File 'lib/closure/goog.rb', line 194</span>
|
967
971
|
|
968
972
|
<span class='kw'>def</span> <span class='id identifier rubyid_deps_response'>deps_response</span>
|
969
973
|
<span class='ivar'>@sources</span><span class='period'>.</span><span class='id identifier rubyid_deps_response'>deps_response</span><span class='lparen'>(</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='const'>Rack</span><span class='op'>::</span><span class='const'>Utils</span><span class='period'>.</span><span class='id identifier rubyid_unescape'>unescape</span><span class='lparen'>(</span><span class='ivar'>@env</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>PATH_INFO</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='ivar'>@env</span><span class='rparen'>)</span>
|
@@ -1008,14 +1012,14 @@ potential for a source browser, editor, and more.</p>
|
|
1008
1012
|
<pre class="lines">
|
1009
1013
|
|
1010
1014
|
|
1011
|
-
200
|
1012
|
-
201
|
1013
1015
|
202
|
1014
1016
|
203
|
1015
|
-
204
|
1017
|
+
204
|
1018
|
+
205
|
1019
|
+
206</pre>
|
1016
1020
|
</td>
|
1017
1021
|
<td>
|
1018
|
-
<pre class="code"><span class="info file"># File 'lib/closure/goog.rb', line
|
1022
|
+
<pre class="code"><span class="info file"># File 'lib/closure/goog.rb', line 202</span>
|
1019
1023
|
|
1020
1024
|
<span class='kw'>def</span> <span class='id identifier rubyid_each'>each</span>
|
1021
1025
|
<span class='ivar'>@sources</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_directory'>directory</span><span class='comma'>,</span> <span class='id identifier rubyid_path'>path</span><span class='op'>|</span>
|
@@ -1081,12 +1085,12 @@ namespace.</p>
|
|
1081
1085
|
<pre class="lines">
|
1082
1086
|
|
1083
1087
|
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1088
|
+
166
|
1089
|
+
167
|
1090
|
+
168</pre>
|
1087
1091
|
</td>
|
1088
1092
|
<td>
|
1089
|
-
<pre class="code"><span class="info file"># File 'lib/closure/goog.rb', line
|
1093
|
+
<pre class="code"><span class="info file"># File 'lib/closure/goog.rb', line 166</span>
|
1090
1094
|
|
1091
1095
|
<span class='kw'>def</span> <span class='id identifier rubyid_files_for'>files_for</span><span class='lparen'>(</span><span class='id identifier rubyid_namespace'>namespace</span><span class='comma'>,</span> <span class='id identifier rubyid_filenames'>filenames</span><span class='op'>=</span><span class='kw'>nil</span><span class='rparen'>)</span>
|
1092
1096
|
<span class='ivar'>@sources</span><span class='period'>.</span><span class='id identifier rubyid_files_for'>files_for</span><span class='lparen'>(</span><span class='id identifier rubyid_namespace'>namespace</span><span class='comma'>,</span> <span class='id identifier rubyid_filenames'>filenames</span><span class='comma'>,</span> <span class='ivar'>@env</span><span class='rparen'>)</span>
|
@@ -1328,13 +1332,13 @@ filenames are relative to the script calling #soy_to_js.</p>
|
|
1328
1332
|
<pre class="lines">
|
1329
1333
|
|
1330
1334
|
|
1331
|
-
151
|
1332
|
-
152
|
1333
1335
|
153
|
1334
|
-
154
|
1336
|
+
154
|
1337
|
+
155
|
1338
|
+
156</pre>
|
1335
1339
|
</td>
|
1336
1340
|
<td>
|
1337
|
-
<pre class="code"><span class="info file"># File 'lib/closure/goog.rb', line
|
1341
|
+
<pre class="code"><span class="info file"># File 'lib/closure/goog.rb', line 153</span>
|
1338
1342
|
|
1339
1343
|
<span class='kw'>def</span> <span class='id identifier rubyid_src_for'>src_for</span><span class='lparen'>(</span><span class='id identifier rubyid_filename'>filename</span><span class='rparen'>)</span>
|
1340
1344
|
<span class='id identifier rubyid_filename'>filename</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span> <span class='id identifier rubyid_filename'>filename</span>
|
@@ -1350,7 +1354,7 @@ filenames are relative to the script calling #soy_to_js.</p>
|
|
1350
1354
|
</div>
|
1351
1355
|
|
1352
1356
|
<div id="footer">
|
1353
|
-
Generated on Fri Jan 27
|
1357
|
+
Generated on Fri Jan 27 13:12:57 2017 by
|
1354
1358
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1355
1359
|
0.8.7.6 (ruby-2.1.8).
|
1356
1360
|
</div>
|
@@ -308,7 +308,7 @@ Closure Script, even in non-source folders, by using the url extension e.g.
|
|
308
308
|
</div>
|
309
309
|
|
310
310
|
<div id="footer">
|
311
|
-
Generated on Fri Jan 27
|
311
|
+
Generated on Fri Jan 27 13:12:58 2017 by
|
312
312
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
313
313
|
0.8.7.6 (ruby-2.1.8).
|
314
314
|
</div>
|
@@ -1090,7 +1090,7 @@ be added.</p>
|
|
1090
1090
|
</div>
|
1091
1091
|
|
1092
1092
|
<div id="footer">
|
1093
|
-
Generated on Fri Jan 27
|
1093
|
+
Generated on Fri Jan 27 13:12:58 2017 by
|
1094
1094
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1095
1095
|
0.8.7.6 (ruby-2.1.8).
|
1096
1096
|
</div>
|
@@ -114,7 +114,7 @@
|
|
114
114
|
</div>
|
115
115
|
|
116
116
|
<div id="footer">
|
117
|
-
Generated on Fri Jan 27
|
117
|
+
Generated on Fri Jan 27 13:12:58 2017 by
|
118
118
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
119
|
0.8.7.6 (ruby-2.1.8).
|
120
120
|
</div>
|
@@ -114,7 +114,7 @@
|
|
114
114
|
</div>
|
115
115
|
|
116
116
|
<div id="footer">
|
117
|
-
Generated on Fri Jan 27
|
117
|
+
Generated on Fri Jan 27 13:12:58 2017 by
|
118
118
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
119
|
0.8.7.6 (ruby-2.1.8).
|
120
120
|
</div>
|
@@ -443,7 +443,7 @@ too.</p>
|
|
443
443
|
</div>
|
444
444
|
|
445
445
|
<div id="footer">
|
446
|
-
Generated on Fri Jan 27
|
446
|
+
Generated on Fri Jan 27 13:12:57 2017 by
|
447
447
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
448
448
|
0.8.7.6 (ruby-2.1.8).
|
449
449
|
</div>
|
@@ -270,7 +270,7 @@ the request was for javascript.</p>
|
|
270
270
|
</div>
|
271
271
|
|
272
272
|
<div id="footer">
|
273
|
-
Generated on Fri Jan 27
|
273
|
+
Generated on Fri Jan 27 13:12:58 2017 by
|
274
274
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
275
275
|
0.8.7.6 (ruby-2.1.8).
|
276
276
|
</div>
|
@@ -1381,7 +1381,7 @@ invalidate the cache.</p>
|
|
1381
1381
|
</div>
|
1382
1382
|
|
1383
1383
|
<div id="footer">
|
1384
|
-
Generated on Fri Jan 27
|
1384
|
+
Generated on Fri Jan 27 13:12:58 2017 by
|
1385
1385
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1386
1386
|
0.8.7.6 (ruby-2.1.8).
|
1387
1387
|
</div>
|
@@ -361,7 +361,7 @@ on source filename arguments.</p>
|
|
361
361
|
</div>
|
362
362
|
|
363
363
|
<div id="footer">
|
364
|
-
Generated on Fri Jan 27
|
364
|
+
Generated on Fri Jan 27 13:12:58 2017 by
|
365
365
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
366
366
|
0.8.7.6 (ruby-2.1.8).
|
367
367
|
</div>
|
@@ -114,7 +114,7 @@
|
|
114
114
|
</div>
|
115
115
|
|
116
116
|
<div id="footer">
|
117
|
-
Generated on Fri Jan 27
|
117
|
+
Generated on Fri Jan 27 13:12:58 2017 by
|
118
118
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
119
|
0.8.7.6 (ruby-2.1.8).
|
120
120
|
</div>
|
data/docs/closure/_index.html
CHANGED
@@ -284,7 +284,7 @@
|
|
284
284
|
</div>
|
285
285
|
|
286
286
|
<div id="footer">
|
287
|
-
Generated on Fri Jan 27
|
287
|
+
Generated on Fri Jan 27 13:12:57 2017 by
|
288
288
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
289
289
|
0.8.7.6 (ruby-2.1.8).
|
290
290
|
</div>
|
@@ -64,7 +64,7 @@
|
|
64
64
|
<div id="content"><div id='filecontents'> Apache License<br/> Version 2.0, January 2004<br/> http://www.apache.org/licenses/<br/><br/> TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION<br/><br/> 1. Definitions.<br/><br/> "License" shall mean the terms and conditions for use, reproduction,<br/> and distribution as defined by Sections 1 through 9 of this document.<br/><br/> "Licensor" shall mean the copyright owner or entity authorized by<br/> the copyright owner that is granting the License.<br/><br/> "Legal Entity" shall mean the union of the acting entity and all<br/> other entities that control, are controlled by, or are under common<br/> control with that entity. For the purposes of this definition,<br/> "control" means (i) the power, direct or indirect, to cause the<br/> direction or management of such entity, whether by contract or<br/> otherwise, or (ii) ownership of fifty percent (50%) or more of the<br/> outstanding shares, or (iii) beneficial ownership of such entity.<br/><br/> "You" (or "Your") shall mean an individual or Legal Entity<br/> exercising permissions granted by this License.<br/><br/> "Source" form shall mean the preferred form for making modifications,<br/> including but not limited to software source code, documentation<br/> source, and configuration files.<br/><br/> "Object" form shall mean any form resulting from mechanical<br/> transformation or translation of a Source form, including but<br/> not limited to compiled object code, generated documentation,<br/> and conversions to other media types.<br/><br/> "Work" shall mean the work of authorship, whether in Source or<br/> Object form, made available under the License, as indicated by a<br/> copyright notice that is included in or attached to the work<br/> (an example is provided in the Appendix below).<br/><br/> "Derivative Works" shall mean any work, whether in Source or Object<br/> form, that is based on (or derived from) the Work and for which the<br/> editorial revisions, annotations, elaborations, or other modifications<br/> represent, as a whole, an original work of authorship. For the purposes<br/> of this License, Derivative Works shall not include works that remain<br/> separable from, or merely link (or bind by name) to the interfaces of,<br/> the Work and Derivative Works thereof.<br/><br/> "Contribution" shall mean any work of authorship, including<br/> the original version of the Work and any modifications or additions<br/> to that Work or Derivative Works thereof, that is intentionally<br/> submitted to Licensor for inclusion in the Work by the copyright owner<br/> or by an individual or Legal Entity authorized to submit on behalf of<br/> the copyright owner. For the purposes of this definition, "submitted"<br/> means any form of electronic, verbal, or written communication sent<br/> to the Licensor or its representatives, including but not limited to<br/> communication on electronic mailing lists, source code control systems,<br/> and issue tracking systems that are managed by, or on behalf of, the<br/> Licensor for the purpose of discussing and improving the Work, but<br/> excluding communication that is conspicuously marked or otherwise<br/> designated in writing by the copyright owner as "Not a Contribution."<br/><br/> "Contributor" shall mean Licensor and any individual or Legal Entity<br/> on behalf of whom a Contribution has been received by Licensor and<br/> subsequently incorporated within the Work.<br/><br/> 2. Grant of Copyright License. Subject to the terms and conditions of<br/> this License, each Contributor hereby grants to You a perpetual,<br/> worldwide, non-exclusive, no-charge, royalty-free, irrevocable<br/> copyright license to reproduce, prepare Derivative Works of,<br/> publicly display, publicly perform, sublicense, and distribute the<br/> Work and such Derivative Works in Source or Object form.<br/><br/> 3. Grant of Patent License. Subject to the terms and conditions of<br/> this License, each Contributor hereby grants to You a perpetual,<br/> worldwide, non-exclusive, no-charge, royalty-free, irrevocable<br/> (except as stated in this section) patent license to make, have made,<br/> use, offer to sell, sell, import, and otherwise transfer the Work,<br/> where such license applies only to those patent claims licensable<br/> by such Contributor that are necessarily infringed by their<br/> Contribution(s) alone or by combination of their Contribution(s)<br/> with the Work to which such Contribution(s) was submitted. If You<br/> institute patent litigation against any entity (including a<br/> cross-claim or counterclaim in a lawsuit) alleging that the Work<br/> or a Contribution incorporated within the Work constitutes direct<br/> or contributory patent infringement, then any patent licenses<br/> granted to You under this License for that Work shall terminate<br/> as of the date such litigation is filed.<br/><br/> 4. Redistribution. You may reproduce and distribute copies of the<br/> Work or Derivative Works thereof in any medium, with or without<br/> modifications, and in Source or Object form, provided that You<br/> meet the following conditions:<br/><br/> (a) You must give any other recipients of the Work or<br/> Derivative Works a copy of this License; and<br/><br/> (b) You must cause any modified files to carry prominent notices<br/> stating that You changed the files; and<br/><br/> (c) You must retain, in the Source form of any Derivative Works<br/> that You distribute, all copyright, patent, trademark, and<br/> attribution notices from the Source form of the Work,<br/> excluding those notices that do not pertain to any part of<br/> the Derivative Works; and<br/><br/> (d) If the Work includes a "NOTICE" text file as part of its<br/> distribution, then any Derivative Works that You distribute must<br/> include a readable copy of the attribution notices contained<br/> within such NOTICE file, excluding those notices that do not<br/> pertain to any part of the Derivative Works, in at least one<br/> of the following places: within a NOTICE text file distributed<br/> as part of the Derivative Works; within the Source form or<br/> documentation, if provided along with the Derivative Works; or,<br/> within a display generated by the Derivative Works, if and<br/> wherever such third-party notices normally appear. The contents<br/> of the NOTICE file are for informational purposes only and<br/> do not modify the License. You may add Your own attribution<br/> notices within Derivative Works that You distribute, alongside<br/> or as an addendum to the NOTICE text from the Work, provided<br/> that such additional attribution notices cannot be construed<br/> as modifying the License.<br/><br/> You may add Your own copyright statement to Your modifications and<br/> may provide additional or different license terms and conditions<br/> for use, reproduction, or distribution of Your modifications, or<br/> for any such Derivative Works as a whole, provided Your use,<br/> reproduction, and distribution of the Work otherwise complies with<br/> the conditions stated in this License.<br/><br/> 5. Submission of Contributions. Unless You explicitly state otherwise,<br/> any Contribution intentionally submitted for inclusion in the Work<br/> by You to the Licensor shall be under the terms and conditions of<br/> this License, without any additional terms or conditions.<br/> Notwithstanding the above, nothing herein shall supersede or modify<br/> the terms of any separate license agreement you may have executed<br/> with Licensor regarding such Contributions.<br/><br/> 6. Trademarks. This License does not grant permission to use the trade<br/> names, trademarks, service marks, or product names of the Licensor,<br/> except as required for reasonable and customary use in describing the<br/> origin of the Work and reproducing the content of the NOTICE file.<br/><br/> 7. Disclaimer of Warranty. Unless required by applicable law or<br/> agreed to in writing, Licensor provides the Work (and each<br/> Contributor provides its Contributions) on an "AS IS" BASIS,<br/> WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or<br/> implied, including, without limitation, any warranties or conditions<br/> of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A<br/> PARTICULAR PURPOSE. You are solely responsible for determining the<br/> appropriateness of using or redistributing the Work and assume any<br/> risks associated with Your exercise of permissions under this License.<br/><br/> 8. Limitation of Liability. In no event and under no legal theory,<br/> whether in tort (including negligence), contract, or otherwise,<br/> unless required by applicable law (such as deliberate and grossly<br/> negligent acts) or agreed to in writing, shall any Contributor be<br/> liable to You for damages, including any direct, indirect, special,<br/> incidental, or consequential damages of any character arising as a<br/> result of this License or out of the use or inability to use the<br/> Work (including but not limited to damages for loss of goodwill,<br/> work stoppage, computer failure or malfunction, or any and all<br/> other commercial damages or losses), even if such Contributor<br/> has been advised of the possibility of such damages.<br/><br/> 9. Accepting Warranty or Additional Liability. While redistributing<br/> the Work or Derivative Works thereof, You may choose to offer,<br/> and charge a fee for, acceptance of support, warranty, indemnity,<br/> or other liability obligations and/or rights consistent with this<br/> License. However, in accepting such obligations, You may act only<br/> on Your own behalf and on Your sole responsibility, not on behalf<br/> of any other Contributor, and only if You agree to indemnify,<br/> defend, and hold each Contributor harmless for any liability<br/> incurred by, or claims asserted against, such Contributor by reason<br/> of your accepting any such warranty or additional liability.<br/><br/> END OF TERMS AND CONDITIONS<br/><br/> APPENDIX: How to apply the Apache License to your work.<br/><br/> To apply the Apache License to your work, attach the following<br/> boilerplate notice, with the fields enclosed by brackets "[]"<br/> replaced with your own identifying information. (Don't include<br/> the brackets!) The text should be enclosed in the appropriate<br/> comment syntax for the file format. We also recommend that a<br/> file or class name and description of purpose be included on the<br/> same "printed page" as the copyright notice for easier<br/> identification within third-party archives.<br/><br/> Copyright [yyyy] [name of copyright owner]<br/><br/> Licensed under the Apache License, Version 2.0 (the "License");<br/> you may not use this file except in compliance with the License.<br/> You may obtain a copy of the License at<br/><br/> http://www.apache.org/licenses/LICENSE-2.0<br/><br/> Unless required by applicable law or agreed to in writing, software<br/> distributed under the License is distributed on an "AS IS" BASIS,<br/> WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<br/> See the License for the specific language governing permissions and<br/> limitations under the License.</div></div>
|
65
65
|
|
66
66
|
<div id="footer">
|
67
|
-
Generated on Fri Jan 27
|
67
|
+
Generated on Fri Jan 27 13:12:57 2017 by
|
68
68
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
69
69
|
0.8.7.6 (ruby-2.1.8).
|
70
70
|
</div>
|
@@ -218,7 +218,7 @@ background process. You’re only limited by your imagination.</p>
|
|
218
218
|
</div></div>
|
219
219
|
|
220
220
|
<div id="footer">
|
221
|
-
Generated on Fri Jan 27
|
221
|
+
Generated on Fri Jan 27 13:12:57 2017 by
|
222
222
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
223
223
|
0.8.7.6 (ruby-2.1.8).
|
224
224
|
</div>
|
data/docs/closure/index.html
CHANGED
@@ -218,7 +218,7 @@ background process. You’re only limited by your imagination.</p>
|
|
218
218
|
</div></div>
|
219
219
|
|
220
220
|
<div id="footer">
|
221
|
-
Generated on Fri Jan 27
|
221
|
+
Generated on Fri Jan 27 13:12:57 2017 by
|
222
222
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
223
223
|
0.8.7.6 (ruby-2.1.8).
|
224
224
|
</div>
|
@@ -112,8 +112,8 @@
|
|
112
112
|
|
113
113
|
|
114
114
|
<li class="r1 ">
|
115
|
-
<span class='object_link'><a href="Closure/
|
116
|
-
<small>Closure::
|
115
|
+
<span class='object_link'><a href="Closure/Compiler.html#compile-class_method" title="Closure::Compiler.compile (method)">compile</a></span>
|
116
|
+
<small>Closure::Compiler</small>
|
117
117
|
</li>
|
118
118
|
|
119
119
|
|
@@ -124,134 +124,146 @@
|
|
124
124
|
|
125
125
|
|
126
126
|
<li class="r1 ">
|
127
|
-
<span class='object_link'><a href="Closure/
|
128
|
-
<small>Closure::
|
127
|
+
<span class='object_link'><a href="Closure/Templates.html#compile-class_method" title="Closure::Templates.compile (method)">compile</a></span>
|
128
|
+
<small>Closure::Templates</small>
|
129
129
|
</li>
|
130
130
|
|
131
131
|
|
132
132
|
<li class="r2 ">
|
133
|
+
<span class='object_link'><a href="Closure/Compiler/Compilation.html#compiled%3F-instance_method" title="Closure::Compiler::Compilation#compiled? (method)">#compiled?</a></span>
|
134
|
+
<small>Closure::Compiler::Compilation</small>
|
135
|
+
</li>
|
136
|
+
|
137
|
+
|
138
|
+
<li class="r1 ">
|
133
139
|
<span class='object_link'><a href="Closure.html#config-class_method" title="Closure.config (method)">config</a></span>
|
134
140
|
<small>Closure</small>
|
135
141
|
</li>
|
136
142
|
|
137
143
|
|
138
|
-
<li class="
|
144
|
+
<li class="r2 ">
|
139
145
|
<span class='object_link'><a href="Closure/Goog.html#deps_js-instance_method" title="Closure::Goog#deps_js (method)">#deps_js</a></span>
|
140
146
|
<small>Closure::Goog</small>
|
141
147
|
</li>
|
142
148
|
|
143
149
|
|
144
|
-
<li class="
|
150
|
+
<li class="r1 ">
|
145
151
|
<span class='object_link'><a href="Closure/Sources.html#deps_js-instance_method" title="Closure::Sources#deps_js (method)">#deps_js</a></span>
|
146
152
|
<small>Closure::Sources</small>
|
147
153
|
</li>
|
148
154
|
|
149
155
|
|
150
|
-
<li class="
|
156
|
+
<li class="r2 ">
|
151
157
|
<span class='object_link'><a href="Closure/Goog.html#deps_response-instance_method" title="Closure::Goog#deps_response (method)">#deps_response</a></span>
|
152
158
|
<small>Closure::Goog</small>
|
153
159
|
</li>
|
154
160
|
|
155
161
|
|
156
|
-
<li class="
|
162
|
+
<li class="r1 ">
|
157
163
|
<span class='object_link'><a href="Closure/Sources.html#deps_response-instance_method" title="Closure::Sources#deps_response (method)">#deps_response</a></span>
|
158
164
|
<small>Closure::Sources</small>
|
159
165
|
</li>
|
160
166
|
|
161
167
|
|
162
|
-
<li class="
|
168
|
+
<li class="r2 ">
|
163
169
|
<span class='object_link'><a href="Closure/Sources.html#dwell-instance_method" title="Closure::Sources#dwell (method)">#dwell</a></span>
|
164
170
|
<small>Closure::Sources</small>
|
165
171
|
</li>
|
166
172
|
|
167
173
|
|
168
|
-
<li class="
|
174
|
+
<li class="r1 ">
|
169
175
|
<span class='object_link'><a href="Closure/FileResponse.html#each-instance_method" title="Closure::FileResponse#each (method)">#each</a></span>
|
170
176
|
<small>Closure::FileResponse</small>
|
171
177
|
</li>
|
172
178
|
|
173
179
|
|
174
|
-
<li class="
|
180
|
+
<li class="r2 ">
|
175
181
|
<span class='object_link'><a href="Closure/Goog.html#each-instance_method" title="Closure::Goog#each (method)">#each</a></span>
|
176
182
|
<small>Closure::Goog</small>
|
177
183
|
</li>
|
178
184
|
|
179
185
|
|
180
|
-
<li class="
|
186
|
+
<li class="r1 ">
|
181
187
|
<span class='object_link'><a href="Closure/Sources.html#each-instance_method" title="Closure::Sources#each (method)">#each</a></span>
|
182
188
|
<small>Closure::Sources</small>
|
183
189
|
</li>
|
184
190
|
|
185
191
|
|
186
|
-
<li class="
|
192
|
+
<li class="r2 ">
|
187
193
|
<span class='object_link'><a href="Closure.html#exclude-class_method" title="Closure.exclude (method)">exclude</a></span>
|
188
194
|
<small>Closure</small>
|
189
195
|
</li>
|
190
196
|
|
191
197
|
|
192
|
-
<li class="
|
198
|
+
<li class="r1 ">
|
193
199
|
<span class='object_link'><a href="Closure/Script.html#expand_path-instance_method" title="Closure::Script#expand_path (method)">#expand_path</a></span>
|
194
200
|
<small>Closure::Script</small>
|
195
201
|
</li>
|
196
202
|
|
197
203
|
|
198
|
-
<li class="
|
204
|
+
<li class="r2 ">
|
199
205
|
<span class='object_link'><a href="Closure/Script.html#expand_src-instance_method" title="Closure::Script#expand_src (method)">#expand_src</a></span>
|
200
206
|
<small>Closure::Script</small>
|
201
207
|
</li>
|
202
208
|
|
203
209
|
|
204
|
-
<li class="
|
210
|
+
<li class="r1 ">
|
205
211
|
<span class='object_link'><a href="Closure/FileResponse.html#filename-instance_method" title="Closure::FileResponse#filename (method)">#filename</a></span>
|
206
212
|
<small>Closure::FileResponse</small>
|
207
213
|
</li>
|
208
214
|
|
209
215
|
|
210
|
-
<li class="
|
216
|
+
<li class="r2 ">
|
211
217
|
<span class='object_link'><a href="Closure/Sources.html#files_for-instance_method" title="Closure::Sources#files_for (method)">#files_for</a></span>
|
212
218
|
<small>Closure::Sources</small>
|
213
219
|
</li>
|
214
220
|
|
215
221
|
|
216
|
-
<li class="
|
222
|
+
<li class="r1 ">
|
217
223
|
<span class='object_link'><a href="Closure/Goog.html#files_for-instance_method" title="Closure::Goog#files_for (method)">#files_for</a></span>
|
218
224
|
<small>Closure::Goog</small>
|
219
225
|
</li>
|
220
226
|
|
221
227
|
|
222
|
-
<li class="
|
228
|
+
<li class="r2 ">
|
223
229
|
<span class='object_link'><a href="Closure/FileResponse.html#finish-instance_method" title="Closure::FileResponse#finish (method)">#finish</a></span>
|
224
230
|
<small>Closure::FileResponse</small>
|
225
231
|
</li>
|
226
232
|
|
227
233
|
|
228
|
-
<li class="
|
234
|
+
<li class="r1 ">
|
229
235
|
<span class='object_link'><a href="Closure/FileResponse.html#found%3F-instance_method" title="Closure::FileResponse#found? (method)">#found?</a></span>
|
230
236
|
<small>Closure::FileResponse</small>
|
231
237
|
</li>
|
232
238
|
|
233
239
|
|
234
|
-
<li class="
|
240
|
+
<li class="r2 ">
|
235
241
|
<span class='object_link'><a href="Closure/Script.html#goog-instance_method" title="Closure::Script#goog (method)">#goog</a></span>
|
236
242
|
<small>Closure::Script</small>
|
237
243
|
</li>
|
238
244
|
|
239
245
|
|
246
|
+
<li class="r1 ">
|
247
|
+
<span class='object_link'><a href="Closure/Script.html#initialize-instance_method" title="Closure::Script#initialize (method)">#initialize</a></span>
|
248
|
+
<small>Closure::Script</small>
|
249
|
+
</li>
|
250
|
+
|
251
|
+
|
240
252
|
<li class="r2 ">
|
241
|
-
<span class='object_link'><a href="Closure/
|
242
|
-
<small>Closure::
|
253
|
+
<span class='object_link'><a href="Closure/Compiler/Compilation.html#initialize-instance_method" title="Closure::Compiler::Compilation#initialize (method)">#initialize</a></span>
|
254
|
+
<small>Closure::Compiler::Compilation</small>
|
243
255
|
</li>
|
244
256
|
|
245
257
|
|
246
258
|
<li class="r1 ">
|
247
|
-
<span class='object_link'><a href="Closure/
|
248
|
-
<small>Closure::
|
259
|
+
<span class='object_link'><a href="Closure/Middleware.html#initialize-instance_method" title="Closure::Middleware#initialize (method)">#initialize</a></span>
|
260
|
+
<small>Closure::Middleware</small>
|
249
261
|
</li>
|
250
262
|
|
251
263
|
|
252
264
|
<li class="r2 ">
|
253
|
-
<span class='object_link'><a href="Closure/
|
254
|
-
<small>Closure::
|
265
|
+
<span class='object_link'><a href="Closure/Goog.html#initialize-instance_method" title="Closure::Goog#initialize (method)">#initialize</a></span>
|
266
|
+
<small>Closure::Goog</small>
|
255
267
|
</li>
|
256
268
|
|
257
269
|
|
@@ -262,121 +274,109 @@
|
|
262
274
|
|
263
275
|
|
264
276
|
<li class="r2 ">
|
265
|
-
<span class='object_link'><a href="Closure/
|
266
|
-
<small>Closure::
|
277
|
+
<span class='object_link'><a href="Closure/Sources.html#initialize-instance_method" title="Closure::Sources#initialize (method)">#initialize</a></span>
|
278
|
+
<small>Closure::Sources</small>
|
267
279
|
</li>
|
268
280
|
|
269
281
|
|
270
282
|
<li class="r1 ">
|
271
|
-
<span class='object_link'><a href="Closure/
|
272
|
-
<small>Closure::
|
283
|
+
<span class='object_link'><a href="Closure/ShowExceptions.html#initialize-instance_method" title="Closure::ShowExceptions#initialize (method)">#initialize</a></span>
|
284
|
+
<small>Closure::ShowExceptions</small>
|
273
285
|
</li>
|
274
286
|
|
275
287
|
|
276
288
|
<li class="r2 ">
|
277
|
-
<span class='object_link'><a href="Closure/
|
278
|
-
<small>Closure::
|
289
|
+
<span class='object_link'><a href="Closure/BeanShell.html#initialize-instance_method" title="Closure::BeanShell#initialize (method)">#initialize</a></span>
|
290
|
+
<small>Closure::BeanShell</small>
|
279
291
|
</li>
|
280
292
|
|
281
293
|
|
282
294
|
<li class="r1 ">
|
283
|
-
<span class='object_link'><a href="Closure/Middleware.html#initialize-instance_method" title="Closure::Middleware#initialize (method)">#initialize</a></span>
|
284
|
-
<small>Closure::Middleware</small>
|
285
|
-
</li>
|
286
|
-
|
287
|
-
|
288
|
-
<li class="r2 ">
|
289
295
|
<span class='object_link'><a href="Closure/Server.html#initialize-instance_method" title="Closure::Server#initialize (method)">#initialize</a></span>
|
290
296
|
<small>Closure::Server</small>
|
291
297
|
</li>
|
292
298
|
|
293
299
|
|
294
|
-
<li class="
|
300
|
+
<li class="r2 ">
|
295
301
|
<span class='object_link'><a href="Closure/Sources.html#invalidate-instance_method" title="Closure::Sources#invalidate (method)">#invalidate</a></span>
|
296
302
|
<small>Closure::Sources</small>
|
297
303
|
</li>
|
298
304
|
|
299
305
|
|
300
|
-
<li class="
|
306
|
+
<li class="r1 ">
|
301
307
|
<span class='object_link'><a href="Closure/Compiler/Compilation.html#javascript-instance_method" title="Closure::Compiler::Compilation#javascript (method)">#javascript</a></span>
|
302
308
|
<small>Closure::Compiler::Compilation</small>
|
303
309
|
</li>
|
304
310
|
|
305
311
|
|
306
|
-
<li class="
|
312
|
+
<li class="r2 ">
|
307
313
|
<span class='object_link'><a href="Closure/Compiler/Compilation.html#js_output_file-instance_method" title="Closure::Compiler::Compilation#js_output_file (method)">#js_output_file</a></span>
|
308
314
|
<small>Closure::Compiler::Compilation</small>
|
309
315
|
</li>
|
310
316
|
|
311
317
|
|
312
|
-
<li class="
|
318
|
+
<li class="r1 ">
|
313
319
|
<span class='object_link'><a href="Closure/Compiler/Compilation.html#log-instance_method" title="Closure::Compiler::Compilation#log (method)">#log</a></span>
|
314
320
|
<small>Closure::Compiler::Compilation</small>
|
315
321
|
</li>
|
316
322
|
|
317
323
|
|
318
|
-
<li class="
|
324
|
+
<li class="r2 ">
|
319
325
|
<span class='object_link'><a href="Closure/Sources.html#namespaces_for-instance_method" title="Closure::Sources#namespaces_for (method)">#namespaces_for</a></span>
|
320
326
|
<small>Closure::Sources</small>
|
321
327
|
</li>
|
322
328
|
|
323
329
|
|
324
|
-
<li class="
|
330
|
+
<li class="r1 ">
|
325
331
|
<span class='object_link'><a href="Closure/Goog.html#path%3D-instance_method" title="Closure::Goog#path= (method)">#path=</a></span>
|
326
332
|
<small>Closure::Goog</small>
|
327
333
|
</li>
|
328
334
|
|
329
335
|
|
330
|
-
<li class="
|
336
|
+
<li class="r2 ">
|
331
337
|
<span class='object_link'><a href="Closure/Goog.html#refresh-instance_method" title="Closure::Goog#refresh (method)">#refresh</a></span>
|
332
338
|
<small>Closure::Goog</small>
|
333
339
|
</li>
|
334
340
|
|
335
341
|
|
336
|
-
<li class="
|
342
|
+
<li class="r1 ">
|
337
343
|
<span class='object_link'><a href="Closure/Script.html#relative_src-instance_method" title="Closure::Script#relative_src (method)">#relative_src</a></span>
|
338
344
|
<small>Closure::Script</small>
|
339
345
|
</li>
|
340
346
|
|
341
347
|
|
342
|
-
<li class="
|
348
|
+
<li class="r2 ">
|
343
349
|
<span class='object_link'><a href="Closure/Script.html#render-instance_method" title="Closure::Script#render (method)">#render</a></span>
|
344
350
|
<small>Closure::Script</small>
|
345
351
|
</li>
|
346
352
|
|
347
353
|
|
348
|
-
<li class="
|
354
|
+
<li class="r1 ">
|
349
355
|
<span class='object_link'><a href="Closure/Script.html#render_stack-instance_method" title="Closure::Script#render_stack (method)">#render_stack</a></span>
|
350
356
|
<small>Closure::Script</small>
|
351
357
|
</li>
|
352
358
|
|
353
359
|
|
354
|
-
<li class="
|
360
|
+
<li class="r2 ">
|
355
361
|
<span class='object_link'><a href="Closure/Script.html#response-instance_method" title="Closure::Script#response (method)">#response</a></span>
|
356
362
|
<small>Closure::Script</small>
|
357
363
|
</li>
|
358
364
|
|
359
365
|
|
360
|
-
<li class="
|
366
|
+
<li class="r1 ">
|
361
367
|
<span class='object_link'><a href="Closure/BeanShell.html#run-instance_method" title="Closure::BeanShell#run (method)">#run</a></span>
|
362
368
|
<small>Closure::BeanShell</small>
|
363
369
|
</li>
|
364
370
|
|
365
371
|
|
366
|
-
<li class="
|
372
|
+
<li class="r2 ">
|
367
373
|
<span class='object_link'><a href="Closure.html#sources-class_method" title="Closure.sources (method)">sources</a></span>
|
368
374
|
<small>Closure</small>
|
369
375
|
</li>
|
370
376
|
|
371
377
|
|
372
|
-
<li class="r2 ">
|
373
|
-
<span class='object_link'><a href="Closure/Goog.html#soy_to_js-instance_method" title="Closure::Goog#soy_to_js (method)">#soy_to_js</a></span>
|
374
|
-
<small>Closure::Goog</small>
|
375
|
-
</li>
|
376
|
-
|
377
|
-
|
378
378
|
<li class="r1 ">
|
379
|
-
<span class='object_link'><a href="Closure/Goog.html#
|
379
|
+
<span class='object_link'><a href="Closure/Goog.html#soy_to_js-instance_method" title="Closure::Goog#soy_to_js (method)">#soy_to_js</a></span>
|
380
380
|
<small>Closure::Goog</small>
|
381
381
|
</li>
|
382
382
|
|
@@ -388,12 +388,18 @@
|
|
388
388
|
|
389
389
|
|
390
390
|
<li class="r1 ">
|
391
|
+
<span class='object_link'><a href="Closure/Goog.html#src_for-instance_method" title="Closure::Goog#src_for (method)">#src_for</a></span>
|
392
|
+
<small>Closure::Goog</small>
|
393
|
+
</li>
|
394
|
+
|
395
|
+
|
396
|
+
<li class="r2 ">
|
391
397
|
<span class='object_link'><a href="Closure/Compiler/Compilation.html#to_response-instance_method" title="Closure::Compiler::Compilation#to_response (method)">#to_response</a></span>
|
392
398
|
<small>Closure::Compiler::Compilation</small>
|
393
399
|
</li>
|
394
400
|
|
395
401
|
|
396
|
-
<li class="
|
402
|
+
<li class="r1 ">
|
397
403
|
<span class='object_link'><a href="Closure.html#welcome-class_method" title="Closure.welcome (method)">welcome</a></span>
|
398
404
|
<small>Closure</small>
|
399
405
|
</li>
|
@@ -103,7 +103,7 @@
|
|
103
103
|
</div>
|
104
104
|
|
105
105
|
<div id="footer">
|
106
|
-
Generated on Fri Jan 27
|
106
|
+
Generated on Fri Jan 27 13:12:57 2017 by
|
107
107
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
108
108
|
0.8.7.6 (ruby-2.1.8).
|
109
109
|
</div>
|
data/lib/closure/compiler.rb
CHANGED
@@ -100,6 +100,12 @@ class Closure
|
|
100
100
|
@js_output_file = js_output_file
|
101
101
|
@log = log
|
102
102
|
end
|
103
|
+
|
104
|
+
# True when compilation actually happened.
|
105
|
+
# False when build was up to date.
|
106
|
+
def compiled?
|
107
|
+
!!@log
|
108
|
+
end
|
103
109
|
|
104
110
|
# Turn the compiled javascript into a Rack::Response object.
|
105
111
|
# Success and warning messages, which aren't raised like errors,
|
data/lib/closure/goog.rb
CHANGED
@@ -124,10 +124,12 @@ class Closure
|
|
124
124
|
refresh # compilation may add new files, module_uris_compiled uses src_for
|
125
125
|
prefix = File.expand_path module_output_path_prefix, root
|
126
126
|
if comp.js_output_file
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
127
|
+
if comp.compiled?
|
128
|
+
File.open comp.js_output_file, 'w' do |f|
|
129
|
+
f.write Compiler::Util.module_path @path
|
130
|
+
f.write Compiler::Util.module_info mods
|
131
|
+
f.write Compiler::Util.module_uris_compiled mods, @sources, prefix
|
132
|
+
end
|
131
133
|
end
|
132
134
|
else
|
133
135
|
comp << Compiler::Util.module_path(@path)
|
data/lib/closure/version.rb
CHANGED