Added grunt to project.
Move from embedded "fork" of jsHint to using grunt's jsHint module. Cleaned ALL jsHint errors. Added jasmine.util.isUndefined as alternative to extra careful protection against undefined clobbering
This commit is contained in:
@@ -2,8 +2,6 @@ class JasmineDev < Thor
|
||||
|
||||
desc "build_distribution", "Build Jasmine js & css files"
|
||||
def build_distribution(directory = "./lib/jasmine-core")
|
||||
invoke :js_hint
|
||||
|
||||
say JasmineDev.spacer
|
||||
|
||||
say "Building Jasmine distribution from source into #{directory}", :cyan
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
class JasmineDev < Thor
|
||||
|
||||
desc "js_hint", "Run Jasmine source through JSHint"
|
||||
def js_hint
|
||||
say JasmineDev.spacer
|
||||
|
||||
return unless node_installed?
|
||||
|
||||
say "Running JSHint on Jasmine source and specs...", :cyan
|
||||
|
||||
run_with_output "node jshint/run.js", :capture => true
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user