Skip to content

Commit c61c451

Browse files
committed
remove add buttons - for now
1 parent 9fb75bf commit c61c451

File tree

8 files changed

+5
-60
lines changed

8 files changed

+5
-60
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5-
## [0.1.0] - WIP
5+
## [0.1.0] - 2016-06-23
6+
- initial early release

lib/components/TopPanel/TopPanel.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ var TopPanel = (function (_super) {
5050
if (!tutorial || !tutorial.pages) {
5151
return null;
5252
}
53-
return (React.createElement(Tabs_1.Tabs, {tabItemContainerStyle: styles.tabs, style: styles.all},
54-
tutorial.pages.map(function (page, index) { return (React.createElement(Tabs_1.Tab, {style: styles.tab, key: index, label: page.title.substring(0, 10), onClick: _this.selectPage.bind(_this, page.title, index)})); }),
55-
React.createElement(Tabs_1.Tab, {style: Object.assign({}, styles.tab, styles.add), label: '+', onActive: tutorialPageAdd})));
53+
return (React.createElement(Tabs_1.Tabs, {tabItemContainerStyle: styles.tabs, style: styles.all}, tutorial.pages.map(function (page, index) { return (React.createElement(Tabs_1.Tab, {style: styles.tab, key: index, label: page.title.substring(0, 10), onClick: _this.selectPage.bind(_this, page.title, index)})); })));
5654
};
5755
TopPanel = __decorate([
5856
react_redux_1.connect(function (state) { return ({

lib/modules/package-json/utils/packageJson.js

Lines changed: 0 additions & 21 deletions
This file was deleted.

lib/modules/validation/actions.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

lib/modules/validation/index.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

lib/modules/validation/reducer.js

Lines changed: 0 additions & 17 deletions
This file was deleted.

lib/modules/validation/types.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/components/TopPanel/TopPanel.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ export default class TopPanel extends React.Component<{
5353
onClick={this.selectPage.bind(this, page.title, index)}
5454
/>
5555
))}
56-
<Tab
56+
{/*}<Tab
5757
style={Object.assign({}, styles.tab, styles.add)}
5858
label='+'
5959
onActive={tutorialPageAdd}
60-
/>
60+
/>*/}
6161
</Tabs>
6262
);
6363
}

0 commit comments

Comments
 (0)