Skip to content
This repository was archived by the owner on Mar 6, 2025. It is now read-only.

Commit 8484479

Browse files
committed
add built file
1 parent e4eafca commit 8484479

File tree

3 files changed

+90
-0
lines changed

3 files changed

+90
-0
lines changed

Gruntfile.js

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
module.exports = function (grunt) {
2+
3+
grunt.initConfig({
4+
pkg : grunt.file.readJSON('package.json'),
5+
concat : {
6+
options : {
7+
separator : ';',
8+
banner : '/*! v<%= pkg.version %> - <%= grunt.template.today("dd-mm-yyyy HH:MM") %> */\n'
9+
},
10+
dist : {
11+
src : ['selectmenu/**/*.js'],
12+
dest : 'dist/<%= pkg.name %>-<%= pkg.version %>.js'
13+
}
14+
},
15+
uglify : {
16+
options: {
17+
report: 'min',
18+
preserveComments : 'some'
19+
20+
},
21+
dist : {
22+
files : {
23+
'dist/<%= pkg.name %>-<%= pkg.version %>.min.js' : ['<%= concat.dist.dest %>']
24+
}
25+
}
26+
},
27+
jshint : {
28+
files : ['gruntfile.js', 'dialog/**/*.js'],
29+
options : {
30+
globals : {
31+
jQuery : true
32+
}
33+
}
34+
},
35+
compress: {
36+
main: {
37+
options: {
38+
archive: '<%= pkg.name %>-<%= pkg.version %>.zip'
39+
},
40+
files: [
41+
{ src: ['./**', '!./node_modules/**', '!./*.zip'], dest: '<%= pkg.name %>-<%= pkg.version %>/' }
42+
]
43+
}
44+
},
45+
watch : {
46+
files : ['<%= jshint.files %>'],
47+
tasks : ['jshint']
48+
}
49+
});
50+
51+
grunt.loadNpmTasks('grunt-contrib-uglify');
52+
grunt.loadNpmTasks('grunt-contrib-jshint');
53+
grunt.loadNpmTasks('grunt-contrib-watch');
54+
grunt.loadNpmTasks('grunt-contrib-concat');
55+
grunt.loadNpmTasks('grunt-contrib-compress');
56+
57+
grunt.registerTask('test', ['jshint']);
58+
59+
grunt.registerTask('default', ['jshint', 'concat', 'uglify', 'compress']);
60+
61+
};

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# [jQuery UI](http://jqueryui.com/) Extensions
22

3+
[![Build Status](https://drone.io/github.com/fnagel/jquery-ui-extensions/status.png)](https://drone.io/github.com/fnagel/jquery-ui-extensions/latest)
34

45
## jQuery UI Seletmenu Popup Style Extension
56

package.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "ui.selectmenu.popupStyle",
3+
"title": "jQuery UI Seletmenu Popup Style Extension",
4+
"description": "Make the selectmenu menu work like a pop up instead of a dropdown menu.",
5+
"version": "0.9.0dev",
6+
"author": {
7+
"name": "Felix Nagel",
8+
"url": "http://www.felixnagel.com"
9+
},
10+
"repository": {
11+
"type": "git",
12+
"url": "git://github.com/fnagel/jquery-ui-extensions.git"
13+
},
14+
"scripts": {
15+
"test": "grunt"
16+
},
17+
"engines": {
18+
"node": ">= 0.8.0"
19+
},
20+
"devDependencies": {
21+
"grunt-contrib-compress": "~0.5.0",
22+
"grunt-contrib-watch": "~0.4.0",
23+
"grunt-contrib-jshint": "~0.6.0",
24+
"grunt-contrib-concat": "~0.3.0",
25+
"grunt-contrib-uglify": "~0.2.0",
26+
"grunt": "~0.4.1"
27+
}
28+
}

0 commit comments

Comments
 (0)