Skip to content

Commit

Permalink
Merge pull request soulwire#34 from DeuxHuitHuit/master
Browse files Browse the repository at this point in the history
Fix soulwire#33 and added a grunt build file
  • Loading branch information
soulwire committed May 8, 2013
2 parents f8faccd + 49ae84d commit bc71001
Show file tree
Hide file tree
Showing 6 changed files with 551 additions and 453 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*~
.project
.settings
node_modules
27 changes: 27 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
All source code included in this jQuery Plugin
is, unless otherwise specified, released under the MIT licence as
follows:

----- begin license block -----

Copyright 2012-2013 Deux Huit Huit

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

----- end license block -----
28 changes: 28 additions & 0 deletions grunt.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*global module:false*/
module.exports = function(grunt) {

"use strict";

// Project configuration.
grunt.initConfig({
pkg: '<json:package.json>',
meta: {
banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
'<%= pkg.homepage ? "* " + pkg.homepage + "\n" : "" %>' +
'* Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>' +
' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %> */'
},
min: {
dist: {
src: ['<banner:meta.banner>', 'js/<%= pkg.name %>.js'],
dest: 'js/<%= pkg.name %>.min.js'
}
},
uglify: {}
});

// Default task.
grunt.registerTask('default', 'min');

};
Loading

0 comments on commit bc71001

Please sign in to comment.