Skip to content

Update Grunt and it's depdendencies to the latest stable versions #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# jquery-migrate: Migrate older jQuery code to jQuery 1.9+

This plugin can be used to detect and restore APIs or features that have been deprecated in jQuery and removed as of version 1.9.
See the [warnings page](https://github.com/jquery/jquery-migrate/blob/master/warnings.md) for more information regarding messages the plugin generates.
See the [warnings page](https://github.com/jquery/jquery-migrate/blob/master/warnings.md) for more information regarding messages the plugin generates.
For more information about the changes made in jQuery 1.9, see the [upgrade guide](http://jquery.com/upgrade-guide/1.9/) and [blog post](http://blog.jquery.com/2013/01/15/jquery-1-9-final-jquery-2-0-beta-migrate-final-released/).

In your web page, load this plugin *after* the script for jQuery:
Expand Down Expand Up @@ -70,12 +70,12 @@ Clone this repo, install `grunt`:
```sh
git clone git://github.com/jquery/jquery-migrate.git
cd jquery-migrate
npm install -g grunt
npm install
npm install -g grunt-cli
```

Run `grunt` to `lint`, `test` and `min` release.
Run `grunt` to `jshint`, `qunit` and `uglify` release.

```sh
grunt
```

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
"jquery": ">=1.6.4"
},
"devDependencies": {
"grunt-git-authors": "~1.1.0",
"grunt-contrib-concat": "~0.1.1",
"grunt-contrib-watch": "~0.1.0",
"grunt-contrib-qunit": "~0.1.0",
"grunt-contrib-jshint": "git://github.com/gruntjs/grunt-contrib-jshint.git#7fd70e86c5a8d489095fa81589d95dccb8eb3a46",
"grunt-contrib-uglify": "git://github.com/gruntjs/grunt-contrib-uglify.git#f8da4ff90c7e8f74c81d8e5d3834e6011a90611c",
"grunt": "0.4.0rc4",
"grunt-git-authors": "~1.2.0",
"grunt-contrib-concat": "~0.1.2",
"grunt-contrib-watch": "~0.3.1",
"grunt-contrib-qunit": "~0.2.0",
"grunt-contrib-jshint": "~0.2.0",
"grunt-contrib-uglify": "~0.1.2",
"grunt": "0.4.0",
"testswarm": "0.2.2"
},
"keywords": []
Expand Down
2 changes: 1 addition & 1 deletion test/attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module("attributes");

test( "attrFn test", function() {
expect( 4 );

( jQuery._definePropertyBroken ? expectNoWarning : expectWarning )( "attrFn", function() {
ok( !!jQuery.attrFn, "attrFn present" );
equal( jQuery.attrFn.quack, undefined, "can read values from attrFn" );
Expand Down
4 changes: 2 additions & 2 deletions test/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ test( "hover pseudo-event", function() {

test( "global events not on document", function() {
expect( 16 );

expectWarning( "Global ajax events", 1, function() {
var events = "ajaxStart ajaxStop ajaxSend ajaxComplete ajaxError ajaxSuccess";

Expand Down Expand Up @@ -815,4 +815,4 @@ if ( jQuery.event.dispatch ) {
equal( matched, 1, "Event dispatched" );
});

}
}