We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3e246f commit b487affCopy full SHA for b487aff
Rakefile
@@ -12,13 +12,9 @@ task :spec do
12
end
13
14
15
-def version
16
- File.read("mustache.js").match('version = "([^\"]+)";$')[1]
17
-end
18
-
19
-# Creates a rule that uses the .tmpl.{pre,post} stuff to make a final,
20
-# wrapped, output file. There is some extra complexity because Dojo and YUI3
21
-# use different template files and final locations.
+# Creates a task that uses the various template wrappers to make a wrapped
+# output file. There is some extra complexity because Dojo and YUI use
+# different final locations.
22
def templated_build(name, opts={})
23
short = name.downcase
24
source = File.join("wrappers", short)
0 commit comments