Skip to content

Commit f2b800c

Browse files
committed
Remove smooth-scroll.jquery.json. No longer used.
1 parent 041962a commit f2b800c

File tree

2 files changed

+2
-52
lines changed

2 files changed

+2
-52
lines changed

Gruntfile.js

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -123,33 +123,16 @@ module.exports = function(grunt) {
123123
var pkg = grunt.file.readJSON('package.json'),
124124
pkgBasename = grunt.config('pluginName'),
125125
bowerFile = grunt.config('bower'),
126-
bower = grunt.file.readJSON(bowerFile),
127-
jqConfigFile = pkgBasename + '.jquery.json',
128-
jqConfig = grunt.file.readJSON(jqConfigFile);
126+
bower = grunt.file.readJSON(bowerFile);
129127

130-
['main', 'version', 'dependencies', 'keywords'].forEach(function(el) {
128+
['main', 'dependencies', 'keywords'].forEach(function(el) {
131129
bower[el] = pkg[el];
132-
jqConfig[el] = pkg[el];
133130
});
134131

135-
['author', 'repository', 'homepage', 'docs', 'bugs', 'demo', 'licenses'].forEach(function(el) {
136-
jqConfig[el] = pkg[el];
137-
});
138-
139-
jqConfig.keywords.shift();
140-
141-
jqConfig.name = pkgBasename;
142132
bower.name = 'jquery-' + pkgBasename;
143133

144134
grunt.file.write( bowerFile, JSON.stringify(bower, null, 2) + '\n');
145135
grunt.log.writeln( 'File "' + bowerFile + '" updated."' );
146-
147-
while ( /jquery/i.test(jqConfig.keywords[0]) ) {
148-
jqConfig.keywords.shift();
149-
}
150-
151-
grunt.file.write( jqConfigFile, JSON.stringify(jqConfig, null, 2) + '\n');
152-
grunt.log.writeln( 'File "' + jqConfigFile + '" updated."' );
153136
});
154137

155138
grunt.registerTask('docs', 'Convert readme.md to html and concat with header and footer for index.html', function() {

smooth-scroll.jquery.json

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)