Skip to content

Commit b487aff

Browse files
committed
Remove dead code
1 parent f3e246f commit b487aff

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

Rakefile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,9 @@ task :spec do
1212
end
1313
end
1414

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.
15+
# Creates a task that uses the various template wrappers to make a wrapped
16+
# output file. There is some extra complexity because Dojo and YUI use
17+
# different final locations.
2218
def templated_build(name, opts={})
2319
short = name.downcase
2420
source = File.join("wrappers", short)

0 commit comments

Comments
 (0)