lib/nitro/helper/javascript.rb in nitro-0.29.0 vs lib/nitro/helper/javascript.rb in nitro-0.30.0
- old
+ new
@@ -1,8 +1,14 @@
require 'facet/inflect'
module Nitro
+module Javascript
+ # The javascript files to auto include.
+
+ setting :required_files, :default => [], :doc => 'The javascript files to auto include'
+end
+
# Javascript utilities.
module JavascriptUtils
private
# Escape carrier returns and single and double quotes for JavaScript segments.