View ember-cli-build.js
/* global require, module */ | |
var EmberApp = require('ember-cli/lib/broccoli/ember-app'); | |
module.exports = function(defaults) { | |
var app = new EmberApp(defaults, { | |
'ember-cli-foundation-sass': { | |
'modernizr': true, | |
'fastclick': true, | |
'foundationJs': 'all' | |
} |
View index.html
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<canvas id='c'></canvas> | |
<script type="text/javascript"> | |
document.addEventListener('DOMContentLoaded', function() { | |
var canvas = document.getElementById('c'); | |
canvas.width = canvas.height = 465; | |
var context = canvas.getContext('2d'); |