Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Commit 1fabd9f

Browse files
committedMay 3, 2016
change component exports to defaults
1 parent 7adb49c commit 1fabd9f

File tree

100 files changed

+269
-176
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+269
-176
lines changed
 

‎lib/atom/main.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ var Main = (function () {
99
function Main() {
1010
polyfills_1.default();
1111
store_1.default.dispatch(actions_1.setupVerify());
12-
this.root = root_1.Root.init();
12+
this.root = root_1.default.init();
1313
}
1414
Main.prototype.activate = function () {
1515
atom.workspace.addRightPanel({
1616
item: this.root,
1717
priority: 0,
1818
});
1919
subscriptions_1.onActivate();
20-
render_1.render(this.root);
20+
render_1.default(this.root);
2121
};
2222
Main.prototype.consumeStatusBar = function (statusBar) {
2323
this.statusBarTile = subscriptions_1.addToStatusBar(statusBar);

‎lib/atom/subscriptions.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function onActivate() {
2626
exports.onActivate = onActivate;
2727
function onDeactivate() {
2828
window.onresize = null;
29-
root_1.Root.unmount();
29+
root_1.default.unmount();
3030
subscriptions.dispose();
3131
}
3232
exports.onDeactivate = onDeactivate;

‎lib/components/Alert/index.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,5 @@ var Alert = (function (_super) {
4141
], Alert);
4242
return Alert;
4343
}(React.Component));
44-
exports.Alert = Alert;
44+
Object.defineProperty(exports, "__esModule", { value: true });
45+
exports.default = Alert;

‎lib/components/App.js‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var App = (function (_super) {
3333
}
3434
App.prototype.render = function () {
3535
var store = this.props.store;
36-
return (React.createElement("section", null, React.createElement(Drawer_1.default, {width: 400, openSecondary: true, open: store.open}, React.createElement("div", {className: 'cr-bg'}, React.createElement(index_1.AppMenu, __assign({}, store)), React.createElement(Routes_1.Routes, __assign({}, store)))), React.createElement(index_1.Alert, __assign({}, store))));
36+
return (React.createElement("section", null, React.createElement(Drawer_1.default, {width: 400, openSecondary: true, open: store.open}, React.createElement("div", {className: 'cr-bg'}, React.createElement(index_1.AppMenu, __assign({}, store)), React.createElement(Routes_1.default, __assign({}, store)))), React.createElement(index_1.Alert, __assign({}, store))));
3737
};
3838
App = __decorate([
3939
react_redux_1.connect(function (store) {
@@ -43,5 +43,6 @@ var App = (function (_super) {
4343
], App);
4444
return App;
4545
}(React.Component));
46-
exports.App = App;
46+
Object.defineProperty(exports, "__esModule", { value: true });
47+
exports.default = App;
4748
;

0 commit comments

Comments
 (0)