This file contains hidden or 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
class Collection { | |
constructor (opts = {}) { | |
this.list = []; | |
this.length = 0; | |
var isFn = $.is.function; | |
if (opts.key) { | |
var keyType = $.object.type(opts.key); |
This file contains hidden or 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
import Grid from './grid.js'; | |
var grid = new Grid(); | |
m.module(document.getElementById("grid-container"), { | |
controller: function () { | |
grid.init(); | |
// Generate a random number of panels (with random | |
// number of child tiles to create variations in height) |
NewerOlder