closure 1.4.3 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README.md +12 -12
- data/closure-compiler/README.md +503 -0
- data/closure-compiler/compiler.jar +0 -0
- data/closure-templates/SoyToJsSrcCompiler.jar +0 -0
- data/closure-templates/soyutils.js +1593 -469
- data/closure-templates/soyutils_usegoog.js +1105 -223
- data/docs/SCRIPT.md +5 -5
- data/docs/closure/Closure/BeanShell.html +63 -54
- data/docs/closure/Closure/Compiler/Compilation.html +124 -107
- data/docs/closure/Closure/Compiler/Error.html +28 -21
- data/docs/closure/Closure/Compiler.html +81 -76
- data/docs/closure/Closure/FileResponse.html +113 -98
- data/docs/closure/Closure/Goog.html +264 -253
- data/docs/closure/Closure/Middleware.html +66 -55
- data/docs/closure/Closure/Script/NotFound.html +28 -21
- data/docs/closure/Closure/Script/RenderStackOverflow.html +28 -21
- data/docs/closure/Closure/Script.html +212 -203
- data/docs/closure/Closure/Server.html +100 -90
- data/docs/closure/Closure/ShowExceptions.html +63 -52
- data/docs/closure/Closure/Sources.html +254 -246
- data/docs/closure/Closure/Templates/Error.html +28 -21
- data/docs/closure/Closure/Templates.html +88 -80
- data/docs/closure/Closure.html +181 -163
- data/docs/closure/_index.html +42 -38
- data/docs/closure/class_list.html +19 -8
- data/docs/closure/css/full_list.css +4 -2
- data/docs/closure/css/style.css +68 -51
- data/docs/closure/file.LICENSE.html +24 -217
- data/docs/closure/file.README.html +54 -47
- data/docs/closure/file_list.html +20 -9
- data/docs/closure/frames.html +18 -5
- data/docs/closure/index.html +54 -47
- data/docs/closure/js/app.js +60 -46
- data/docs/closure/js/full_list.js +24 -10
- data/docs/closure/js/jquery.js +4 -16
- data/docs/closure/method_list.html +74 -175
- data/docs/closure/top-level-namespace.html +29 -20
- data/lib/closure/compiler.rb +32 -42
- data/lib/closure/goog.rb +12 -12
- data/lib/closure/server.rb +6 -6
- data/lib/closure/show_exceptions.rb +15 -12
- data/lib/closure/version.rb +1 -1
- data/scripts/git.erb +183 -0
- data/scripts/hello/compiler.js.erb +2 -2
- data/scripts/hello/hello.js +1 -1
- data/scripts/hello/index.erb +6 -0
- data/scripts/hello/legume.js +12 -7
- data/scripts/index.erb +15 -13
- data/scripts/modules/compiler.js.erb +3 -3
- data/scripts/modules/compiler_build.js +3 -3
- data/scripts/modules/compiler_build.map +13 -12159
- data/scripts/modules/compiler_build_api.js +1 -1
- data/scripts/modules/compiler_build_app.js +74 -71
- data/scripts/modules/compiler_build_settings.js +2 -2
- data/scripts/modules/index.erb +5 -3
- data/scripts/modules/settings.js +1 -1
- data/scripts/svn.erb +11 -11
- data/scripts/welcome.erb +7 -6
- metadata +65 -81
- data/closure-compiler/README +0 -292
- data/scripts/hello/compiler_build.js +0 -5
- data/scripts/hello/compiler_build.map +0 -748
- data/scripts/hello/compiler_debug.js +0 -119
- data/scripts/modules/compiler_debug.js +0 -6
- data/scripts/modules/compiler_debug_api.js +0 -11
- data/scripts/modules/compiler_debug_app.js +0 -2414
- data/scripts/modules/compiler_debug_settings.js +0 -39
- data/scripts/rails/index.erb +0 -46
- data/scripts/rails/rails_ujs.js +0 -96
data/scripts/index.erb
CHANGED
@@ -1,22 +1,27 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html>
|
3
3
|
<head>
|
4
|
+
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
|
5
|
+
<meta content="utf-8" http-equiv="encoding">
|
6
|
+
<title>Welcome to Closure</title>
|
4
7
|
<style type="text/css" media="screen">
|
5
|
-
|
6
|
-
|
8
|
+
html {font-family: sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;}
|
9
|
+
button,input,optgroup,select,textarea {font-family: sans-serif; font-size: inherit;}
|
7
10
|
</style>
|
8
11
|
</head>
|
9
12
|
<body>
|
10
13
|
|
11
14
|
<h1>Closure Script</h1>
|
12
|
-
|
13
|
-
<%= render '
|
14
|
-
:
|
15
|
+
|
16
|
+
<%= render 'git', :git_name => 'Closure Library', :git_path => 'closure-library',
|
17
|
+
:git_url => 'https://anon:anon@github.com/google/closure-library.git' %>
|
15
18
|
|
16
19
|
<p>
|
17
20
|
Only the documentation will work until Closure Library is downloaded.
|
18
21
|
<br />
|
19
|
-
|
22
|
+
Documentation requires kramdown gem to be installed.
|
23
|
+
<br />
|
24
|
+
You may need to manually download Closure Library if git fails.
|
20
25
|
</p>
|
21
26
|
|
22
27
|
<ul>
|
@@ -40,17 +45,14 @@
|
|
40
45
|
</li>
|
41
46
|
<li>
|
42
47
|
<a href='modules/index'>Modules - Raw</a>
|
43
|
-
</li>
|
48
|
+
</li>
|
44
49
|
<li>
|
45
50
|
<a href='modules/index?build'>Modules - Build</a>
|
46
|
-
</li>
|
51
|
+
</li>
|
47
52
|
<li>
|
48
53
|
<a href='modules/index?debug'>Modules - Debug</a>
|
49
|
-
</li>
|
50
|
-
<li>
|
51
|
-
<a href='rails/index'>Rails 3 unobtrusive</a>
|
52
|
-
</li>
|
54
|
+
</li>
|
53
55
|
</ul>
|
54
|
-
|
56
|
+
|
55
57
|
</body>
|
56
58
|
</html>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<%
|
1
|
+
<%
|
2
2
|
# The --module option no longer needs a file count if you
|
3
3
|
# use '*' to mean 'everything until the next --module'.
|
4
4
|
# This way everything is automatic when using namespaces.
|
@@ -6,9 +6,9 @@ args = %w{
|
|
6
6
|
--summary_detail_level 3
|
7
7
|
--module app:*
|
8
8
|
--ns example.initializer.app
|
9
|
-
--module api:*:app
|
9
|
+
--module api:*:app
|
10
10
|
--ns example.initializer.api
|
11
|
-
--module settings:*:app
|
11
|
+
--module settings:*:app
|
12
12
|
--ns example.initializer.settings
|
13
13
|
}
|
14
14
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
var MODULE_INFO = {"app": [], "api": ["app"], "settings": ["app"]};
|
2
2
|
var MODULE_URIS = {
|
3
|
-
"app": ["/modules/compiler_build_app.js?
|
4
|
-
"api": ["/modules/compiler_build_api.js?
|
5
|
-
"settings": ["/modules/compiler_build_settings.js?
|
3
|
+
"app": ["/modules/compiler_build_app.js?1458503735"],
|
4
|
+
"api": ["/modules/compiler_build_api.js?1458503735"],
|
5
|
+
"settings": ["/modules/compiler_build_settings.js?1458503735"]
|
6
6
|
};
|