Created
February 18, 2015 16:19
-
-
Save pierr/949b757be2879f99ee73 to your computer and use it in GitHub Desktop.
Line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ListMixin = require('list'); | |
var lineRenderer = function(lineData){ | |
return (<li></li>) | |
} | |
var ListMxin = ListMixin({Line: LineCustom}}) | |
module.exports = React.createClass({ | |
mixin: [ListMxin()], | |
Store: [], | |
lineRender: function(if(this.lineRenderer){retunr this}) | |
}); | |
Focus.createList({lineRender: function(){}}) | |
function(obj){ | |
var mixin = _.extend({}, ListMixin, obj) | |
} | |
<List line={Line}/> | |
ListProjject |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment