Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
3 additions
and
3 deletions.
-
+1
−1
README.md
-
+1
−1
src/css/curCSS.js
-
+1
−1
src/event.js
|
@@ -23,7 +23,7 @@ What you need to build your own jQuery |
|
|
|
|
|
In order to build jQuery, you need to have the latest Node.js/npm and git 1.7 or later. Earlier versions might work, but are not supported. |
|
|
|
|
|
For Windows, you have to download and install [git](http://git-scm.com/downloads) and [Node.js](https://nodejs.org/en/download/). |
|
|
For Windows, you have to download and install [git](https://git-scm.com/downloads) and [Node.js](https://nodejs.org/en/download/). |
|
|
|
|
|
OS X users should install [Homebrew](http://brew.sh/). Once Homebrew is installed, run `brew install git` to install git, |
|
|
and `brew install node` to install Node.js. |
|
|
|
@@ -26,7 +26,7 @@ function curCSS( elem, name, computed ) { |
|
|
// Android Browser returns percentage for some values, |
|
|
// but width seems to be reliably pixels. |
|
|
// This is against the CSSOM draft spec: |
|
|
// http://dev.w3.org/csswg/cssom/#resolved-values |
|
|
// https://drafts.csswg.org/cssom/#resolved-values |
|
|
if ( !support.pixelMarginRight() && rnumnonpx.test( ret ) && rmargin.test( name ) ) { |
|
|
|
|
|
// Remember the original values |
|
|
|
@@ -581,7 +581,7 @@ jQuery.Event = function( src, props ) { |
|
|
}; |
|
|
|
|
|
// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding |
|
|
// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html |
|
|
// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html |
|
|
jQuery.Event.prototype = { |
|
|
constructor: jQuery.Event, |
|
|
isDefaultPrevented: returnFalse, |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.