瀏覽代碼

Format comment

tags/0.4.0
Michael Jackson 14 年之前
父節點
當前提交
ff40abbbbc
共有 1 個文件被更改,包括 3 次插入4 次删除
  1. +3
    -4
      Rakefile

+ 3
- 4
Rakefile 查看文件

@@ -16,11 +16,10 @@ def version
File.read("mustache.js").match('version: "([^\"]+)",$')[1]
end

# Creates a rule that uses the .tmpl.{pre,post} stuff to make a final,
# wrapped, output file. There is some extra complexity because Dojo and YUI3
# use different template files and final locations.
def templated_build(name, opts={})
# Create a rule that uses the .tmpl.{pre,post} stuff to make a final,
# wrapped, output file.
# There is some extra complexity because Dojo and YUI3 use different
# template files and final locations.
short = name.downcase
source = "mustache-#{short}"
dependencies = ["mustache.js"] + Dir.glob("#{source}/*.tpl.*")


Loading…
取消
儲存