Skip to content

Commit

Permalink
Removed subblock as a separate itemtype. #26
Browse files Browse the repository at this point in the history
  • Loading branch information
prakhar1989 committed Jul 3, 2015
1 parent 4baac56 commit b6e986e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 37 deletions.
33 changes: 0 additions & 33 deletions js/components/DraggableSubblock.js

This file was deleted.

3 changes: 1 addition & 2 deletions js/components/ItemTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ var ItemTypes = {
OPTION: 'option',
OPTIONGROUP: 'optiongroup',
QUESTIONNODE: 'questionnode',
BLOCKNODE: 'blocknode',
SUBBLOCK: 'subblock'
BLOCKNODE: 'blocknode'
};

module.exports = ItemTypes;
2 changes: 0 additions & 2 deletions js/components/Toolbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ var { List } = require('immutable');
var DraggableBlock = require('./DraggableBlock');
var DraggableOptionGroup = require('./DraggableOptionGroup');
var DraggableQuestion = require('./DraggableQuestion');
var DraggableSubblock = require('./DraggableSubblock');
var OptionGroupArea = require('./OptionGroupArea');

var Toolbox = React.createClass({
Expand All @@ -18,7 +17,6 @@ var Toolbox = React.createClass({
<h3>Toolbox <span className="help-text">Drop items on the pallet</span></h3>
<div className="widgets-area">
<DraggableBlock />
<DraggableSubblock />
<DraggableQuestion />
<DraggableOptionGroup />
<OptionGroupArea
Expand Down

0 comments on commit b6e986e

Please sign in to comment.