Skip to content

Commit ad1d0d5

Browse files
committed
Revert "Branch redesign"
1 parent 9f69ea7 commit ad1d0d5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+2091
-10520
lines changed

Gruntfile.js

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = function (grunt) {
1010
options: {
1111
livereload: true
1212
},
13-
files: ['Gruntfile.js', 'js/**/*.js', 'stylus/**/*.styl', 'html/**/*.jade', 'html/index.html'],
13+
files: ['Gruntfile.js', 'js/**/*.js', 'less/**/*.less', 'html/index.html'],
1414
tasks: ['build']
1515
}
1616
},
@@ -24,17 +24,13 @@ module.exports = function (grunt) {
2424
}
2525
},
2626
},
27-
stylus: {
28-
compile: {
29-
files: {
30-
'css/app.css': 'stylus/app.styl'
31-
}
32-
}
33-
},
34-
jade: {
35-
compile: {
27+
less: {
28+
production: {
29+
options: {
30+
cleancss: true
31+
},
3632
files: {
37-
'new.html': 'html/new.jade'
33+
'css/app.css': 'less/app.less'
3834
}
3935
}
4036
},
@@ -61,7 +57,7 @@ module.exports = function (grunt) {
6157
}
6258
});
6359

64-
grunt.registerTask('build', ['clean', 'stylus', 'useminPrepare', 'concat', 'uglify', 'cssmin', 'htmlmin', 'usemin']);
60+
grunt.registerTask('build', ['clean', 'less', 'useminPrepare', 'concat', 'uglify', 'cssmin', 'htmlmin', 'usemin']);
6561
grunt.registerTask('test', ['build', 'mocha_phantomjs']);
66-
grunt.registerTask('default', ['build', 'jade', 'connect', 'watch']);
62+
grunt.registerTask('default', ['build', 'connect', 'watch']);
6763
};

dist/css/app.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/app.js

Lines changed: 12 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

html/index.html

Lines changed: 825 additions & 587 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)