aboutsummaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorRafael Xavier de Souza <rxaviers@gmail.com>2013-12-02 16:36:12 -0200
committerRafael Xavier de Souza <rxaviers@gmail.com>2014-01-24 18:22:49 -0200
commit21154cfa2e02ef1814a6aff68b14553bdad165cb (patch)
tree7a6df22c3cb8a1f0060f864e4a2eb241232024a3 /Gruntfile.js
parent234f7f3c0e8e0de5b5c194a357e02edc95a83376 (diff)
downloadjquery-ui-21154cfa2e02ef1814a6aff68b14553bdad165cb.tar.gz
jquery-ui-21154cfa2e02ef1814a6aff68b14553bdad165cb.zip
All: Rename all files, removing the "jquery.ui." prefix;
- By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271; Fixes #9464 Closes gh-1029
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js22
1 files changed, 11 insertions, 11 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 60d02efd0..545329df0 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -5,15 +5,15 @@ module.exports = function( grunt ) {
var
// files
coreFiles = [
- "jquery.ui.core.js",
- "jquery.ui.widget.js",
- "jquery.ui.mouse.js",
- "jquery.ui.draggable.js",
- "jquery.ui.droppable.js",
- "jquery.ui.resizable.js",
- "jquery.ui.selectable.js",
- "jquery.ui.sortable.js",
- "jquery.ui.effect.js"
+ "core.js",
+ "widget.js",
+ "mouse.js",
+ "draggable.js",
+ "droppable.js",
+ "resizable.js",
+ "selectable.js",
+ "sortable.js",
+ "effect.js"
],
uiFiles = coreFiles.map(function( file ) {
@@ -42,7 +42,7 @@ var
"tooltip",
"theme"
].map(function( component ) {
- return "themes/base/jquery.ui." + component + ".css";
+ return "themes/base/" + component + ".css";
}),
// minified files
@@ -166,7 +166,7 @@ grunt.initConfig({
},
jscs: {
// datepicker, sortable, resizable and draggable are getting rewritten, ignore until that's done
- ui: [ "ui/jquery.ui.*.js", "!ui/jquery.ui.datepicker.js", "!ui/jquery.ui.sortable.js", "!ui/jquery.ui.resizable.js", "!ui/jquery.ui.draggable.js" ],
+ ui: [ "ui/*.js", "!ui/datepicker.js", "!ui/sortable.js", "!ui/resizable.js", "!ui/draggable.js" ],
// TODO enable this once we have a tool that can help with fixing formatting of existing files
// tests: "tests/unit/**/*.js",
grunt: "Gruntfile.js"