Skip to content

Commit

Permalink
jspm updates to ss-utils 0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Mar 8, 2016
1 parent f73f2e4 commit 9f022dc
Show file tree
Hide file tree
Showing 143 changed files with 8,214 additions and 138 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -2123,8 +2123,8 @@ installed npm dependencies. The resulting `index.html` then becomes a container
As the technologies used in this guide represent today's best-in-class choices for developing rich, complex
JavaScript Apps within VS.NET, we've encapsulated them together into ServiceStack's new
[TypeScript React VS.NET Template](https://github.com/ServiceStackApps/typescript-react-template/)
providing an instant integrated client and .NET server solution that enables an immediately productive
out-of-the-box and iterative development experience. The pre-configured Gulp tasks takes care of
providing an instant integrated client and .NET server solution so you're immediately productive out-of-the-box.
It's also provides an optimal iterative development experience with the pre-configured Gulp tasks taking care of
effortlessly packaging, bundling and deploying your production-optimized App
[directly from VS.NET's Task Runner Explorer](https://github.com/ServiceStackApps/typescript-react-template/#networkedshapecreator-project).
Expand Down
8 changes: 4 additions & 4 deletions src/TypeScriptRedux/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/TypeScriptRedux/app.js.map

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions src/TypeScriptRedux/config.js
Expand Up @@ -9,13 +9,13 @@ System.config({

map: {
"es6-shim": "github:es-shims/es6-shim@0.34.4",
"jquery": "npm:jquery@2.2.0",
"jquery": "npm:jquery@2.2.1",
"jquery-validation-unobtrusive": "github:aspnet/jquery-validation-unobtrusive@3.2.5",
"react": "npm:react@0.14.7",
"react-dom": "npm:react-dom@0.14.7",
"react-redux": "npm:react-redux@4.4.0",
"redux": "npm:redux@3.3.1",
"ss-utils": "npm:ss-utils@0.1.0",
"ss-utils": "npm:ss-utils@0.1.3",
"github:aspnet/jquery-validation-unobtrusive@3.2.5": {
"jquery-validation": "github:jzaefferer/jquery-validation@1.14.0"
},
Expand All @@ -38,7 +38,7 @@ System.config({
"util": "npm:util@0.10.3"
},
"github:jzaefferer/jquery-validation@1.14.0": {
"jquery": "npm:jquery@2.2.0"
"jquery": "npm:jquery@2.2.1"
},
"npm:assert@1.3.0": {
"util": "npm:util@0.10.3"
Expand Down Expand Up @@ -109,8 +109,8 @@ System.config({
"loose-envify": "npm:loose-envify@1.1.0",
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:ss-utils@0.1.0": {
"jquery": "npm:jquery@2.2.0"
"npm:ss-utils@0.1.3": {
"jquery": "npm:jquery@2.2.1"
},
"npm:stream-browserify@1.0.0": {
"events": "github:jspm/nodelibs-events@0.1.1",
Expand Down
206 changes: 147 additions & 59 deletions src/TypeScriptRedux/deps.lib.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/TypeScriptRedux/deps.lib.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/TypeScriptRedux/jspm_packages/.dependencies.json
Expand Up @@ -80,7 +80,6 @@
"npm:base64-js@0.0.8": {},
"github:jspm/nodelibs-fs@0.1.2": {},
"github:jspm/nodelibs-child_process@0.1.0": {},
"npm:jquery@2.2.0": {},
"github:aspnet/jquery-validation-unobtrusive@3.2.5": {
"jquery-validation": "github:jzaefferer/jquery-validation@^1.8"
},
Expand Down Expand Up @@ -116,7 +115,8 @@
"process": "github:jspm/nodelibs-process@^0.1.0",
"buffer": "github:jspm/nodelibs-buffer@^0.1.0"
},
"npm:ss-utils@0.1.0": {
"npm:ss-utils@0.1.3": {
"jquery": "npm:jquery"
}
},
"npm:jquery@2.2.1": {}
}
3 changes: 0 additions & 3 deletions src/TypeScriptRedux/jspm_packages/npm/jquery@2.2.0.js

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions src/TypeScriptRedux/jspm_packages/npm/jquery@2.2.0/README.md

This file was deleted.

This file was deleted.

3 changes: 3 additions & 0 deletions src/TypeScriptRedux/jspm_packages/npm/jquery@2.2.1.js
@@ -0,0 +1,3 @@
define(["npm:jquery@2.2.1/dist/jquery.js"], function(main) {
return main;
});
@@ -0,0 +1 @@
3c3e16854ad3d2ac44ac65021b17426d22ad803f2134243e7a899544f892586e6d126813jspm-npm@0.260.16.1
Expand Up @@ -273,3 +273,6 @@ Liza Ramo <liza.h.ramo@gmail.com>
Julian Alexander Murillo <julian.alexander.murillo@gmail.com>
Joelle Fleurantin <joasqueeniebee@gmail.com>
Jun Sun <klsforever@gmail.com>
Devin Wilson <dwilson6.github@gmail.com>
Todor Prikumov <tono_pr@abv.bg>
Zack Hall <zackhall@outlook.com>
65 changes: 65 additions & 0 deletions src/TypeScriptRedux/jspm_packages/npm/jquery@2.2.1/README.md
@@ -0,0 +1,65 @@
# jQuery

> jQuery is a fast, small, and feature-rich JavaScript library.
For information on how to get started and how to use jQuery, please see [jQuery's documentation](http://api.jquery.com/).
For source files and issues, please visit the [jQuery repo](https://github.com/jquery/jquery).

## Including jQuery

Below are some of the most common ways to include jQuery.

### Browser

#### Script tag

```html
<script src="https://code.jquery.com/jquery-2.2.0.min.js"></script>
```

#### Babel

[Babel](http://babeljs.io/) is a next generation JavaScript compiler. One of the features is the ability to use ES6/ES2015 modules now, even though browsers do not yet support this feature natively.

```js
import $ from "jquery";
```

#### Browserify/Webpack

There are several ways to use [Browserify](http://browserify.org/) and [Webpack](https://webpack.github.io/). For more information on using these tools, please refer to the corresponding project's documention. In the script, including jQuery will usually look like this...

```js
var $ = require("jquery");
```

#### AMD (Asynchronous Module Definition)

AMD is a module format built for the browser. For more information, we recommend [require.js' documentation](http://requirejs.org/docs/whyamd.html).

```js
define(["jquery"], function($) {

});
```

### Node

To include jQuery in [Node](nodejs.org), first install with npm.

```sh
npm install jquery
```

For jQuery to work in Node, a window with a document is required. Since no such window exists natively in Node, one can be mocked by tools such as [jsdom](https://github.com/tmpvar/jsdom). This can be useful for testing purposes.

```js
require("jsdom").env("", function(err, window) {
if (err) {
console.error(err);
return;
}

var $ = require("jquery")(window);
});
```
@@ -1,5 +1,5 @@
/*!
* jQuery JavaScript Library v2.2.0
* jQuery JavaScript Library v2.2.1
* http://jquery.com/
*
* Includes Sizzle.js
Expand All @@ -9,7 +9,7 @@
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2016-01-08T20:02Z
* Date: 2016-02-22T19:11Z
*/

(function( global, factory ) {
Expand Down Expand Up @@ -65,7 +65,7 @@ var support = {};


var
version = "2.2.0",
version = "2.2.1",

// Define a local copy of jQuery
jQuery = function( selector, context ) {
Expand Down Expand Up @@ -4479,7 +4479,7 @@ function on( elem, types, selector, data, fn, one ) {
if ( fn === false ) {
fn = returnFalse;
} else if ( !fn ) {
return this;
return elem;
}

if ( one === 1 ) {
Expand Down Expand Up @@ -5128,14 +5128,14 @@ var
rscriptTypeMasked = /^true\/(.*)/,
rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;

// Manipulating tables requires a tbody
function manipulationTarget( elem, content ) {
if ( jQuery.nodeName( elem, "table" ) &&
jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) {
return jQuery.nodeName( elem, "table" ) &&
jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ?

return elem.getElementsByTagName( "tbody" )[ 0 ] || elem;
}

return elem;
elem.getElementsByTagName( "tbody" )[ 0 ] ||
elem.appendChild( elem.ownerDocument.createElement( "tbody" ) ) :
elem;
}

// Replace/restore the type attribute of script elements for safe DOM manipulation
Expand Down Expand Up @@ -5642,7 +5642,7 @@ var getStyles = function( elem ) {
// FF meanwhile throws on frame elements through "defaultView.getComputedStyle"
var view = elem.ownerDocument.defaultView;

if ( !view.opener ) {
if ( !view || !view.opener ) {
view = window;
}

Expand Down Expand Up @@ -5791,15 +5791,18 @@ function curCSS( elem, name, computed ) {
style = elem.style;

computed = computed || getStyles( elem );
ret = computed ? computed.getPropertyValue( name ) || computed[ name ] : undefined;

// Support: Opera 12.1x only
// Fall back to style even without computed
// computed is undefined for elems on document fragments
if ( ( ret === "" || ret === undefined ) && !jQuery.contains( elem.ownerDocument, elem ) ) {
ret = jQuery.style( elem, name );
}

// Support: IE9
// getPropertyValue is only needed for .css('filter') (#12537)
if ( computed ) {
ret = computed.getPropertyValue( name ) || computed[ name ];

if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) {
ret = jQuery.style( elem, name );
}

// A tribute to the "awesome hack by Dean Edwards"
// Android Browser returns percentage for some values,
Expand Down Expand Up @@ -7849,7 +7852,7 @@ jQuery.extend( jQuery.event, {
// But now, this "simulate" function is used only for events
// for which stopPropagation() is noop, so there is no need for that anymore.
//
// For the compat branch though, guard for "click" and "submit"
// For the 1.x branch though, guard for "click" and "submit"
// events is still used, but was moved to jQuery.event.stopPropagation function
// because `originalEvent` should point to the original event for the constancy
// with other events and for more focused logic
Expand Down Expand Up @@ -9619,11 +9622,8 @@ jQuery.fn.extend( {
}

// Add offsetParent borders
// Subtract offsetParent scroll positions
parentOffset.top += jQuery.css( offsetParent[ 0 ], "borderTopWidth", true ) -
offsetParent.scrollTop();
parentOffset.left += jQuery.css( offsetParent[ 0 ], "borderLeftWidth", true ) -
offsetParent.scrollLeft();
parentOffset.top += jQuery.css( offsetParent[ 0 ], "borderTopWidth", true );
parentOffset.left += jQuery.css( offsetParent[ 0 ], "borderLeftWidth", true );
}

// Subtract parent offsets and element margins
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 9f022dc

Please sign in to comment.