Skip to content

Commit

Permalink
Updated build for dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Gannaway committed Jan 19, 2016
1 parent c91e93a commit d9826e5
Show file tree
Hide file tree
Showing 18 changed files with 1,202 additions and 999 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ npm install --save inferno-server
Pre-bundled files for browser consumption:

```
http://infernojs.org/releases/0.5.12/inferno.min.js
http://infernojs.org/releases/0.5.12/inferno-component.min.js
http://infernojs.org/releases/0.5.12/inferno-dom.min.js
http://infernojs.org/releases/0.5.12/inferno-server.min.js
http://infernojs.org/releases/0.5.17/inferno.min.js
http://infernojs.org/releases/0.5.17/inferno-component.min.js
http://infernojs.org/releases/0.5.17/inferno-dom.min.js
http://infernojs.org/releases/0.5.17/inferno-server.min.js
```

## Overview
Expand Down
2 changes: 1 addition & 1 deletion dist/inferno-component.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* inferno-component v0.5.16
* inferno-component v0.5.17
* (c) 2016 Dominic Gannaway
* Released under the MPL-2.0 License.
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/inferno-dom.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* inferno-dom v0.5.16
* inferno-dom v0.5.17
* (c) 2016 Dominic Gannaway
* Released under the MPL-2.0 License.
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/inferno-server.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* inferno-server v0.5.16
* inferno-server v0.5.17
* (c) 2016 Dominic Gannaway
* Released under the MPL-2.0 License.
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/inferno.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* inferno v0.5.16
* inferno v0.5.17
* (c) 2016 Dominic Gannaway
* Released under the MPL-2.0 License.
*/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "inferno-src",
"license": "MPL-2.0",
"version": "0.5.16",
"version": "0.5.17",
"author": {
"name": "Dominic Gannaway",
"email": "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion packages/inferno-component/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "inferno-component",
"version": "0.5.16",
"version": "0.5.17",
"license": "MPL-2.0",
"description": "Provides ES2015 stateful components (with lifecycle events) to Inferno",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion packages/inferno-dom/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "inferno-dom",
"version": "0.5.16",
"version": "0.5.17",
"license": "MPL-2.0",
"description": "Provides methods to render DOM nodes from Inferno fragments",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion packages/inferno-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "inferno-server",
"version": "0.5.16",
"version": "0.5.17",
"license": "MPL-2.0",
"description": "Provides methods to render HTML strings from Inferno fragments",
"author": {
Expand Down
20 changes: 12 additions & 8 deletions packages/inferno/dist/inferno-component.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* inferno-component v0.5.14
* inferno-component v0.5.17
* (c) 2016 Dominic Gannaway
* Released under the MPL-2.0 License.
*/
Expand All @@ -9,13 +9,15 @@
(global.InfernoComponent = factory());
}(this, function () { 'use strict';

var babelHelpers_classCallCheck = function (instance, Constructor) {
var babelHelpers = {};

babelHelpers.classCallCheck = function (instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
};

var babelHelpers_createClass = function () {
babelHelpers.createClass = function () {
function defineProperties(target, props) {
for (var i = 0; i < props.length; i++) {
var descriptor = props[i];
Expand All @@ -33,7 +35,7 @@
};
}();

var babelHelpers_extends = Object.assign || function (target) {
babelHelpers.extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];

Expand All @@ -47,7 +49,7 @@
return target;
};

var noop = (function () {})
babelHelpers;

var canUseDOM = !!(typeof window !== 'undefined' &&
// Nwjs doesn't add document as a global in their node context, but does have it on window.document,
Expand All @@ -62,6 +64,8 @@
canUseSymbol: typeof Symbol === 'function' && typeof Symbol['for'] === 'function'
};

var noop = (function () {})

// Server side workaround
var requestAnimationFrame = noop;
var cancelAnimationFrame = noop;
Expand Down Expand Up @@ -105,7 +109,7 @@
component._pendingSetState = false;
var pendingState = component._pendingState;
var oldState = component.state;
var nextState = babelHelpers_extends({}, oldState, pendingState);
var nextState = babelHelpers.extends({}, oldState, pendingState);

component._pendingState = {};
component._pendingSetState = false;
Expand Down Expand Up @@ -143,7 +147,7 @@

var Component = function () {
function Component(props) {
babelHelpers_classCallCheck(this, Component);
babelHelpers.classCallCheck(this, Component);

/** @type {object} */
this.props = props || {};
Expand All @@ -160,7 +164,7 @@
this.context = {};
}

babelHelpers_createClass(Component, [{
babelHelpers.createClass(Component, [{
key: 'render',
value: function render() {}
}, {
Expand Down
2 changes: 1 addition & 1 deletion packages/inferno/dist/inferno-component.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d9826e5

Please sign in to comment.