[ Launch: Tributary inlet ] 5671888 by samselikoff
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="Ember template" /> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0-rc.3/handlebars.js"></script> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/ember.js/1.0.0-rc.6/ember.min.js"></script> | |
<script src="http://builds.emberjs.com.s3.amazonaws.com/ember-data-latest.js"></script> | |
<meta charset=utf-8 /> |
Adding a grid to your chart.
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
function brush() { | |
// Use x.domain to filter the data, then find the max and min duration of this new set, and set y.domain to that | |
x.domain(brush.empty() ? x2.domain() : brush.extent()); | |
var dataFiltered = data.filter(function(d, i) { | |
if ( (d.date >= x.domain()[0]) && (d.date <= x.domain()[1]) ) { | |
return this; | |
} | |
}) | |
var buildersFiltered = color.domain().map(function(name) { | |
return { |
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
App.MonthlyDatepickerComponent = Ember.Component.extend({ | |
classNames: ['dp'], | |
didInsertElement: function() { | |
var _this = this; | |
this.$().datepicker({format: 'M-yyyy',minViewMode: 'months'}) | |
.on('changeDate', function(e) { | |
_this.sendAction('action', e.format()); | |
}); | |
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
classes: function() { | |
var classes = Ember.keys(this.get('data.classes')); | |
debugger; | |
return getClasses(classes); | |
}.property('data.classes'), |
[ Launch: boston playground ] 9255346 by samselikoff
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
// Generated on 2014-02-27 using generator-webapp 0.4.7 | |
'use strict'; | |
// # Globbing | |
// for performance reasons we're only matching one level down: | |
// 'test/spec/{,*/}*.js' | |
// use this if you want to recursively match all subfolders: | |
// 'test/spec/**/*.js' | |
module.exports = function (grunt) { |
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
gistup |
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
Hey there! |
OlderNewer