Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
SupremeTechnopriest committed Feb 17, 2016
1 parent e366409 commit ea196f6
Show file tree
Hide file tree
Showing 17 changed files with 59 additions and 44 deletions.
4 changes: 2 additions & 2 deletions cli/generator/templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13",
"babel-preset-stage-0": "^6.3.13",
"copy-webpack-plugin": "^0.3.3",
"eslint": "^1.10.3",
"copy-webpack-plugin": "^1.1.1",
"eslint": "^2.1.0",
"eslint-loader": "^1.2.0",
"eslint-plugin-babel": "^3.0.0",
"eslint-plugin-react": "^3.14.0",
Expand Down
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"dependencies": {
"chalk": "^1.1.1",
"commander": "^2.9.0",
"prompt": "^0.2.14",
"prompt": "^1.0.0",
"semver": "^5.1.0",
"yeoman-environment": "^1.4.0",
"yeoman-generator": "^0.22.2"
Expand Down
10 changes: 6 additions & 4 deletions lib/Dimensions/Dimensions.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
'use strict';

Object.defineProperty(exports, "__esModule", {
value: true
});

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

Object.defineProperty(exports, "__esModule", {
value: true
});

var _react = require('react');

var _react2 = _interopRequireDefault(_react);
Expand Down Expand Up @@ -83,6 +83,7 @@ var bindDimensions = function bindDimensions(ComposedComponent) {
var _ref$getWidth = _ref.getWidth;
var getWidth = _ref$getWidth === undefined ? defaultGetWidth : _ref$getWidth;


return _temp2 = _class = function (_Component) {
_inherits(_class, _Component);

Expand Down Expand Up @@ -168,6 +169,7 @@ var isWindow = function isWindow(element) {
var Dimensions = function Dimensions(element) {
var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];


switch (typeof element === 'undefined' ? 'undefined' : _typeof(element)) {
case 'object':
return getDimensions(element);
Expand Down
13 changes: 9 additions & 4 deletions lib/OffCanvas/OffCanvas.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
'use strict';

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

var _class, _class2, _temp;

Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = undefined;

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

var _class, _class2, _temp;

var _react = require('react');

var _react2 = _interopRequireDefault(_react);
Expand Down Expand Up @@ -63,6 +63,7 @@ var OffCanvas = (0, _radium2.default)(_class = (_temp = _class2 = function (_Com
var openRight = _state.openRight;
var expanded = _state.expanded;


var leftPushStyles = [leftType === 'push' && styles.push, { left: 0 }];

var rightPushStyles = [rightType === 'push' && styles.push, { right: 0 }];
Expand Down Expand Up @@ -105,6 +106,7 @@ var OffCanvas = (0, _radium2.default)(_class = (_temp = _class2 = function (_Com
var leftType = _props2.leftType;
var rightType = _props2.rightType;


if (leftType === 'push' && rightType === 'push') {
this.setState({ openLeft: !this.state.openLeft, openRight: false });
} else {
Expand All @@ -118,6 +120,7 @@ var OffCanvas = (0, _radium2.default)(_class = (_temp = _class2 = function (_Com
var leftType = _props3.leftType;
var rightType = _props3.rightType;


if (leftType === 'push' && rightType === 'push') {

if (this.state.openRight) {
Expand Down Expand Up @@ -180,6 +183,7 @@ var OffCanvas = (0, _radium2.default)(_class = (_temp = _class2 = function (_Com
var openRight = _state2.openRight;
var expanded = _state2.expanded;


if (openLeft && leftType === 'push') {

return this.props.leftWidth;
Expand Down Expand Up @@ -261,6 +265,7 @@ var OffCanvas = (0, _radium2.default)(_class = (_temp = _class2 = function (_Com

exports.default = OffCanvas;


var styles = {
container: {
height: '100%',
Expand Down
9 changes: 5 additions & 4 deletions lib/RenderInBody/RenderInBody.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
'use strict';

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

Object.defineProperty(exports, "__esModule", {
value: true
});

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

var _react = require('react');

var _react2 = _interopRequireDefault(_react);
Expand Down Expand Up @@ -68,6 +68,7 @@ var RenderInBody = function (_Component) {
var decorateRenderInBody = function decorateRenderInBody(ComposedComponent) {
var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];


return function (_Component2) {
_inherits(_class2, _Component2);

Expand Down
4 changes: 2 additions & 2 deletions lib/RenderInWorker/Channel.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
'use strict';

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

Object.defineProperty(exports, "__esModule", {
value: true
});

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

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

/**
Expand Down
5 changes: 3 additions & 2 deletions lib/RenderInWorker/ChildOperations.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
'use strict';

var _actions;

Object.defineProperty(exports, "__esModule", {
value: true
});
exports.actions = undefined;

var _actions;

exports.processChildrenUpdates = processChildrenUpdates;
exports.replaceNodeWithMarkupByID = replaceNodeWithMarkupByID;

Expand Down
4 changes: 2 additions & 2 deletions lib/RenderInWorker/DOMNodeStub.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
'use strict';

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = undefined;

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

var _WorkerBridge = require('./WorkerBridge');

var _WorkerBridge2 = _interopRequireDefault(_WorkerBridge);
Expand Down
4 changes: 2 additions & 2 deletions lib/RenderInWorker/IDOperations.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
'use strict';

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

Object.defineProperty(exports, "__esModule", {
value: true
});

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

var _DOMNodeStub = require('./DOMNodeStub');

var _DOMNodeStub2 = _interopRequireDefault(_DOMNodeStub);
Expand Down
6 changes: 4 additions & 2 deletions lib/RenderInWorker/RenderInWorker.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
'use strict';

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = undefined;

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

var _ReactMultiChild = require('react/lib/ReactMultiChild');

var _ReactMultiChild2 = _interopRequireDefault(_ReactMultiChild);
Expand Down Expand Up @@ -152,6 +152,7 @@ var RenderInWorker = function () {
var eventHandlers = _extractEventHandlers2.eventHandlers;
var options = _extractEventHandlers2.options;


var node = _IDOperations2.default.get(this._rootNodeID);

node.setAttributes(options);
Expand Down Expand Up @@ -201,5 +202,6 @@ var RenderInWorker = function () {
* Extending the component with the MultiChild mixin.
*/


exports.default = RenderInWorker;
Object.assign(RenderInWorker.prototype, _ReactMultiChild2.default.Mixin);
4 changes: 2 additions & 2 deletions lib/RenderInWorker/TextComponent.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
'use strict';

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = undefined;

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

var _IDOperations = require('./IDOperations');

var _IDOperations2 = _interopRequireDefault(_IDOperations);
Expand Down
4 changes: 2 additions & 2 deletions lib/RenderInWorker/WorkerBridge.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
'use strict';

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

Object.defineProperty(exports, "__esModule", {
value: true
});

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

var _channel = require('./channel');

var _channel2 = _interopRequireDefault(_channel);
Expand Down
11 changes: 7 additions & 4 deletions lib/ScrollView/ScrollView.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
'use strict';

Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = undefined;

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

var _class, _temp; /**
Expand All @@ -9,12 +14,9 @@ var _class, _temp; /**

// React


// Utils

Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = undefined;

var _react = require('react');

Expand Down Expand Up @@ -84,6 +86,7 @@ var ScrollView = (_temp = _class = function (_Component) {
_this.loadingSpinnerHeight = 0;
_this.deprecationWarned = false;


var nextInternalState = _this.recomputeInternalStateFromProps(_this.props);

_this.computedProps = nextInternalState.computedProps;
Expand Down
4 changes: 2 additions & 2 deletions lib/ScrollView/computers/arrayInfiniteComputer.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
'use strict';

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = undefined;

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

var _infiniteComputer = require('./infiniteComputer');

var _infiniteComputer2 = _interopRequireDefault(_infiniteComputer);
Expand Down
Loading

0 comments on commit ea196f6

Please sign in to comment.