Permalink
Browse files

Support variable width and height

  • Loading branch information...
1 parent 8f6e199 commit 13fdae7696c5d9a24b4aa45f8bb0ddee456aca92 @rudyjahchan rudyjahchan committed Jan 21, 2014
View
@@ -10,6 +10,7 @@ lib-cov
pids
logs
results
+maps
npm-debug.log
View
@@ -7,13 +7,18 @@ module.exports = function(grunt) {
mochaTest: {
test: {
options: {
- mocha: require('mocha')
+ mocha: require('mocha'),
+ require: 'test/common'
},
- src: ['test/**/*.coffee']
+ src: ['test/**/*_test.coffee']
}
},
coffee: {
compile: {
+ options: {
+ sourceMap: true,
+ sourceMapDir: 'maps/'
+ },
expand: true,
cwd: 'src/',
src: ['**/*.coffee'],
@@ -24,14 +29,14 @@ module.exports = function(grunt) {
watch: {
tests: {
files: ['test/**/*_test.coffee'],
- tasks: ['mochaTest']
+ tasks: ['build']
},
src: {
files: ['src/**/*.coffee'],
- tasks: ['mochaTest', 'coffee']
+ tasks: ['build']
}
}
});
- grunt.registerTask('build', ['mochaTest','coffee']);
+ grunt.registerTask('build', ['coffee', 'mochaTest']);
grunt.registerTask('default', ['mochaTest']);
};
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 13fdae7

Please sign in to comment.