Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rename Model-R to modelr.

  • Loading branch information...
commit cc797214a23c451cfa2c842858a90d21372a570a 1 parent 5869392
@fblee fblee authored
Showing with 10 additions and 10 deletions.
  1. +1 −1  README.md
  2. +9 −9 Rakefile
View
2  README.md
@@ -1,4 +1,4 @@
-Model-R is a minimal model layer for javascript, with the design goal of optimizing for
+Modelr is a minimal model layer for javascript, with the design goal of optimizing for
developer productivity on modern browsers. (sorry, no IE support yet!).
Key points
View
18 Rakefile
@@ -16,24 +16,24 @@ task :release do
end
version = `git describe --tags --always --dirty`.sub('v', '').tr('-','.').chomp
- puts "Writing: release/model-r-#{version}.js"
- File.open("release/model-r-#{version}.js", 'w') do |output|
- output.puts "/*** model-r-#{version}.js ***/"
+ puts "Writing: release/modelr-#{version}.js"
+ File.open("release/modelr-#{version}.js", 'w') do |output|
+ output.puts "/*** modelr-#{version}.js ***/"
Dir["js/lib/[a-z]*.js"].sort.each do |file|
output << File.read(file)
end
end
- puts "Writing: release/model-r-#{version}.min.js"
+ puts "Writing: release/modelr-#{version}.min.js"
- uglified, source_map = Uglifier.new.compile_with_map(File.read("release/model-r-#{version}.js"))
+ uglified, source_map = Uglifier.new.compile_with_map(File.read("release/modelr-#{version}.js"))
- File.open("release/model-r-#{version}.min.js", 'w') do |minified|
- minified.write("/*** model-r-#{version}.min.js ***/")
+ File.open("release/modelr-#{version}.min.js", 'w') do |minified|
+ minified.write("/*** modelr-#{version}.min.js ***/")
minified.write(uglified)
end
- puts "Writing: release/model-r-#{version}.map (source map for minified version)"
+ puts "Writing: release/modelr-#{version}.map (source map for minified version)"
- File.open("release/model-r-#{version}.map", 'w') {|f| f.write(source_map) }
+ File.open("release/modelr-#{version}.map", 'w') {|f| f.write(source_map) }
end
task :default => :release
Please sign in to comment.
Something went wrong with that request. Please try again.