View Gruntfile.js
module.exports = function(grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON( 'package.json' ), | |
emberTemplates: { | |
compile: { | |
options: { | |
templateBasePath: /assets\/js\/app\/templates\// | |
}, | |
files: { |
View Gruntfile.js
module.exports = function(grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON( 'package.json' ), | |
ember_handlebars: { | |
options: { | |
processName: function(filePath) { | |
var shortFilePath = filePath.replace(/assets\/js\/app\/templates\//, '').replace('.hbs', ''); | |
return shortFilePath; | |
}, |
View spinner.css
/* | |
* Read more here: | |
* http://front-back.com/a-cool-css-spinner-with-less-variables | |
*/ | |
/* | |
* This is a nice full CSS3 loader made with LESS | |
* so you'll have to compile it into CSS to make it work in your project | |
* See the doc on the LESS website : http://lesscss.org/ | |
*/ |
View sass_converter.rb
module Jekyll | |
# Sass plugin to convert .scss to .css | |
# | |
# Note: This is configured to use the new css like syntax available in sass. | |
require 'sass' | |
class SassConverter < Converter | |
safe true | |
priority :low | |
def matches(ext) |
View index.html
<div class="stage"> | |
<div class="ken stance"></div> | |
</div> | |
<div class="commands"> | |
<h1>Control Ken's moves with keyboard</h1> |