Skip to content

Commit d9bcda5

Browse files
author
Chris Williams
committed
Adding dojo support at dojox.string.mustache.
1 parent 9deebb7 commit d9bcda5

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

Rakefile

+4-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ end
3131
task :dojo do
3232
print "Packaging for dojo\n"
3333
source = "mustache-dojo"
34-
target_js = "dojo.mustache.js"
35-
`cat #{source}/#{target_js}.tpl.pre mustache.js #{source}/#{target_js}.tpl.post > #{target_js}`
36-
print "Done, see ./#{target_js}\n"
34+
target_js = "mustache.js"
35+
`mkdir -p dojox; mkdir -p dojox/string`
36+
`cat #{source}/#{target_js}.tpl.pre mustache.js #{source}/#{target_js}.tpl.post > dojox/string/#{target_js}`
37+
print "Done, see ./dojox/string/#{target_js} Include using dojo.require('dojox.string.mustache.'); \n"
3738
end
3839

3940

File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
22
Shameless port of a shameless port
3-
@defunkt => @janl => @aq
3+
@defunkt => @janl => @aq => @voodootikigod
44

55
See http://github.com/defunkt/mustache for more info.
66
*/
77

8-
dojo.provide("dojo.mustache");
9-
(function(d) {
8+
dojo.provide("dojox.string.mustache");
9+
;(function(d) {

0 commit comments

Comments
 (0)