draggable
Version:
High performance, fully cross browser, full featured drag and drop in a tiny (2k gzipped), dependency-free package
24 lines (20 loc) • 428 B
text/coffeescript
module.exports = (grunt) ->
grunt.config.init
uglify:
options:
mangle:
toplevel: true
compress:
dead_code: true
unused: true
join_vars: true
comments: false
standard:
files:
'dist/draggable.min.js': [
'src/draggable.js'
]
#wrap: true
grunt.loadNpmTasks 'grunt-contrib-concat'
grunt.loadNpmTasks 'grunt-contrib-uglify'
grunt.registerTask 'default', ['uglify']