Skip to content
This repository has been archived by the owner on Nov 25, 2019. It is now read-only.

Commit

Permalink
Fix some breaking typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmann committed Apr 25, 2013
1 parent ea3d12b commit c7d9475
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rename.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"plugin.php": "{%= js_safe_name %}.php",
"assets/css/less/plugin.less": "assets/css/less/{%= js_safe_name %}.less",
"assets/css/sass/plugin.scss": "assets/css/sass/{%= js_safe_name %}.scss",
"assets/css/src/plugin.css": "assets/css/css/{%= js_safe_name %}.css",
"assets/css/src/plugin.css": "assets/css/src/{%= js_safe_name %}.css",
"assets/css/js/src/plugin.js": "assets/css/js/src/{%= js_safe_name %}.js",
"lang/plugin.po": "lang/{%= prefix %}.po"
}
4 changes: 1 addition & 3 deletions root/Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

module.exports = function( grunt ) {

// Project configuration
Expand Down Expand Up @@ -54,7 +52,7 @@ module.exports = function( grunt ) {
' * <%= pkg.homepage %>\n' +
' * Copyright (c) <%= grunt.template.today("yyyy") %>;' +
' * Licensed GPLv2+' +
' */\n'
' */\n',
mangle: {
except: ['jQuery']
}
Expand Down
2 changes: 2 additions & 0 deletions template.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ exports.template = function( grunt, init, done ) {
switch( props.css_type.toLowerCase()[0] ) {
case 'l':
delete files[ 'assets/css/sass/' + props.js_safe_name + '.scss'];
delete files[ 'assets/css/src/' + props.js_safe_name + '.css' ];

props.devDependencies["grunt-contrib-less"] = "~0.5.0";
props.css_type = 'less';
Expand All @@ -83,6 +84,7 @@ exports.template = function( grunt, init, done ) {
// SASS is the default
default:
delete files[ 'assets/css/less/' + props.js_safe_name + '.less'];
delete files[ 'assets/css/src/' + props.js_safe_name + '.css' ];

props.devDependencies["grunt-contrib-sass"] = "~0.2.2";
props.css_type = 'sass';
Expand Down

0 comments on commit c7d9475

Please sign in to comment.