View Gruntfile.js
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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON( 'package.json' ), | |
emberTemplates: { | |
compile: { | |
options: { | |
templateBasePath: /assets\/js\/app\/templates\// | |
}, | |
files: { |
View Gruntfile.js
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
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
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
/* | |
* 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
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
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
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
<div class="stage"> | |
<div class="ken stance"></div> | |
</div> | |
<div class="commands"> | |
<h1>Control Ken's moves with keyboard</h1> |