too many basepath

This commit is contained in:
Galen Wolfe-Pauly 2015-06-16 15:57:29 -07:00
parent a14ef8594a
commit 409d208cd9
2 changed files with 6 additions and 15 deletions

View File

@ -1,3 +1,5 @@
# comment
TreeStore = require '../stores/TreeStore.coffee'
TreeActions = require '../actions/TreeActions.coffee'
@ -109,10 +111,10 @@ module.exports = recl
if @state.prev or @state.next
_parts = []
if @state.prev
href = window.tree.basepath window.tree.basepath @state.prev
href = window.tree.basepath @state.prev
_parts.push (a {key:"arow-prev",href:href,className:"arow-prev"},"")
if @state.next
href = window.tree.basepath window.tree.basepath @state.next
href = window.tree.basepath @state.next
_parts.push (a {key:"arow-next",href:href,className:"arow-next"},"")
parts.push (div {id:"sides"}, _parts)

View File

@ -71,7 +71,6 @@ module.exports = {
};
},{"../dispatcher/Dispatcher.coffee":8,"../persistence/TreePersistence.coffee":13}],2:[function(require,module,exports){
var TreeActions, TreeStore, a, div, recl, ref;
@ -219,7 +218,7 @@ module.exports = recl({
if (this.state.prev || this.state.next) {
_parts = [];
if (this.state.prev) {
href = window.tree.basepath(window.tree.basepath(this.state.prev));
href = window.tree.basepath(this.state.prev);
_parts.push(a({
key: "arow-prev",
href: href,
@ -227,7 +226,7 @@ module.exports = recl({
}, ""));
}
if (this.state.next) {
href = window.tree.basepath(window.tree.basepath(this.state.next));
href = window.tree.basepath(this.state.next);
_parts.push(a({
key: "arow-next",
href: href,
@ -294,7 +293,6 @@ module.exports = recl({
});
},{"../actions/TreeActions.coffee":1,"../stores/TreeStore.coffee":14}],3:[function(require,module,exports){
var TreeActions, TreeStore, div, input, load, recl, ref, textarea;
@ -359,7 +357,6 @@ module.exports = recl({
});
},{"../actions/TreeActions.coffee":1,"../stores/TreeStore.coffee":14,"./LoadComponent.coffee":7}],4:[function(require,module,exports){
var div, recl, ref, textarea;
@ -383,7 +380,6 @@ module.exports = recl({
});
},{}],5:[function(require,module,exports){
var TreeActions, TreeStore, a, div, hr, li, recl, ref, ul;
@ -450,7 +446,6 @@ module.exports = recl({
});
},{"../actions/TreeActions.coffee":1,"../stores/TreeStore.coffee":14}],6:[function(require,module,exports){
var TreeActions, TreeStore, a, div, h1, li, load, recl, ref, ul;
@ -545,7 +540,6 @@ module.exports = recl({
});
},{"../actions/TreeActions.coffee":1,"../stores/TreeStore.coffee":14,"./LoadComponent.coffee":7}],7:[function(require,module,exports){
var div, input, recl, ref, textarea;
@ -583,7 +577,6 @@ module.exports = recl({
});
},{}],8:[function(require,module,exports){
var Dispatcher;
@ -605,7 +598,6 @@ module.exports = _.extend(new Dispatcher(), {
});
},{"flux":10}],9:[function(require,module,exports){
var rend;
@ -765,7 +757,6 @@ $(function() {
});
},{"./actions/TreeActions.coffee":1,"./components/AnchorComponent.coffee":2,"./components/BodyComponent.coffee":3,"./components/CodeMirror.coffee":4,"./components/KidsComponent.coffee":5,"./components/ListComponent.coffee":6,"./persistence/TreePersistence.coffee":13}],10:[function(require,module,exports){
/**
* Copyright (c) 2014-2015, Facebook, Inc.
@ -1106,7 +1097,6 @@ module.exports = {
};
},{"../actions/TreeActions.coffee":1}],14:[function(require,module,exports){
var EventEmitter, MessageDispatcher, TreeStore, _cont, _curr, _load, _snip, _tree;
@ -1320,7 +1310,6 @@ TreeStore.dispatchToken = MessageDispatcher.register(function(payload) {
module.exports = TreeStore;
},{"../dispatcher/Dispatcher.coffee":8,"events":15}],15:[function(require,module,exports){
// Copyright Joyent, Inc. and other Node contributors.
//