Skip to content

Commit 358f1e3

Browse files
author
Rafael Staib
committed
Add improvement for unique ID handling
1 parent 8e323c3 commit 358f1e3

17 files changed

+1102
-162
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 1.0.3
4+
5+
- Adding an id to the outer control wrapper tag will have as of now an impact on the internal uniqueid handling and therefore to the sub tag ids as well
6+
37
## 1.0.2
48

59
- Add destroy method to remove the control functionality completely

Gruntfile.js

+18-22
Original file line numberDiff line numberDiff line change
@@ -29,26 +29,21 @@ module.exports = function (grunt)
2929
}
3030
}
3131
},
32-
"regex-replace": {
33-
all: {
34-
src: ['<%= pkg.folders.dist %>/jquery.steps.js'],
35-
actions: [
36-
{
37-
name: 'multiLineComments',
38-
search: /\/\*[^!](.|\r|\n)*?\*\/\r\n?/gim,
39-
replace: ''
40-
},
41-
{
42-
name: 'singleLineComment',
43-
search: /^\s*?[^http:\/\/]\/\/.*\r\n?/gi,
44-
replace: ''
45-
},
46-
{
47-
name: 'singleLineCommentSameLine',
48-
search: /[^http:\/\/]\/\/.*/gi,
49-
replace: ''
50-
}
51-
]
32+
//"regex-replace": {
33+
// all: {
34+
// src: ['<%= pkg.folders.nuget %>/jQuery.Steps.nuspec'],
35+
// actions: [
36+
// {
37+
// name: 'versionNumber',
38+
// search: /<version>.*?<\/version>/gi,
39+
// replace: '<version><%= pkg.version %></version>'
40+
// }
41+
// ]
42+
// }
43+
//},
44+
exec: {
45+
createPkg: {
46+
cmd: "<%= pkg.folders.nuget %>\\Nuget pack <%= pkg.folders.nuget %>\\jQuery.Steps.nuspec -OutputDirectory <%= pkg.folders.dist %> -Version <%= pkg.version %>"
5247
}
5348
},
5449
compress: {
@@ -152,9 +147,10 @@ module.exports = function (grunt)
152147
grunt.loadNpmTasks('grunt-contrib-clean');
153148
grunt.loadNpmTasks('grunt-contrib-compress');
154149
grunt.loadNpmTasks('grunt-regex-replace');
150+
grunt.loadNpmTasks('grunt-exec');
155151

156152
grunt.registerTask('default', ['build']);
157153
grunt.registerTask('api', ['clean:api', 'yuidoc']);
158-
grunt.registerTask('build', ['clean:build', 'concat', 'regex-replace', 'jshint', 'qunit']);
159-
grunt.registerTask('release', ['build', 'api', 'uglify', 'compress']);
154+
grunt.registerTask('build', ['clean:build', 'concat', 'jshint', 'qunit']);
155+
grunt.registerTask('release', ['build', 'api', 'uglify', 'compress', 'exec:createPkg']);
160156
};

build/jQuery.Steps.1.0.3.nupkg

19.2 KB
Binary file not shown.

build/jquery.steps-1.0.2.zip

-13.2 KB
Binary file not shown.

build/jquery.steps-1.0.3.zip

18.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)