neorails-view_fu 0.6 → 0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/javascripter/helper.rb +6 -1
- data/view_fu.gemspec +1 -1
- metadata +1 -1
data/lib/javascripter/helper.rb
CHANGED
@@ -11,8 +11,13 @@ module Javascripter
|
|
11
11
|
# Override this if needed
|
12
12
|
def javascripts(options={})
|
13
13
|
[
|
14
|
-
|
14
|
+
# include the default sources (minus application.js)
|
15
|
+
javascript(ActionView::Helpers::AssetTagHelper.JAVASCRIPT_DEFAULT_SOURCES),
|
16
|
+
|
17
|
+
# include the dynamic page javascripts
|
15
18
|
page_javascripts(options),
|
19
|
+
|
20
|
+
# application.js always needs to be at the end
|
16
21
|
javascript("application")
|
17
22
|
].join("\n")
|
18
23
|
end
|
data/view_fu.gemspec
CHANGED