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
//################################################################ STYLUS MIXIN | |
// Colors | |
$lavender = #9569bb | |
$pink = #f468f9 | |
$white = #fff | |
$black = #000 | |
$grayDark = #333 | |
$grayMed = #666 | |
$grayLight = #999 |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>{{app_title}}</title> | |
<!-- Mobile viewport optimization h5bp.com/ad --> | |
<meta name="HandheldFriendly" content="True"> |
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
// This is the main application configuration file. It is a Grunt | |
// configuration file, which you can learn more about here: | |
// https://github.com/cowboy/grunt/blob/master/docs/configuring.md | |
module.exports = function(grunt) { | |
grunt.initConfig({ | |
// The clean task ensures all files are removed from the dist/ directory so | |
// that no files linger from previous builds. | |
clean: ["dist/"], |
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
//=== LIST | |
Article.Views.List = Backbone.View.extend({ | |
template: "", | |
initialize: function( options ){ | |
_.bindAll(this, "render", "addAll", "addOne"); | |
this.collection.bind( "add", this.addOne ); | |
this.collection.bind( "reset", this.addAll ); | |
this.totalItems = this.collection.length; | |
}, |
NewerOlder