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
| /*global module:false*/ | |
| module.exports = function(grunt) { | |
| // Project configuration. | |
| grunt.initConfig({ | |
| meta: { | |
| version: '0.1.0', | |
| banner: '/*! Cake Marketing - v<%= meta.version %> - ' + | |
| '<%= grunt.template.today("yyyy-mm-dd") %>\n' + | |
| '* http://cakemarketing.com/\n' + |
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
| public $filters = array( | |
| 'assignee' => function($qb,$assignee_id){ | |
| if($assignee_id === 'none') { | |
| $this->repository->filterByUnassigned($qb); | |
| } | |
| elseif($assignee_id) { | |
| $this->repository->filterByAssignee($qb,$assignee_id); | |
| } | |
| }, | |
| 'status' => function($qb,$status){ |
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
| export PATH=/usr/local/bin:$PATH | |
| [[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm | |
| export PATH=$PATH:~/.gem/ruby/1.8/bin | |
| export PATH="$(brew --prefix josegonzalez/php/php53)/bin:$PATH" |
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
| @import "icons/standard/geomicons/dark/*.png"; | |
| .icon { | |
| &:before { | |
| @include show-pseudo-element; | |
| position:absolute; | |
| top:50%; | |
| margin-top:-9px; | |
| left:0; | |
| width:16px; |
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
| // Base Colours | |
| $text-color :#d7d7d9 #a4acb2 #495a66 #979da2 #a4acb2; | |
| $background-color :#f2f2f2 #f6f7f7 #495965 #36424a; | |
| $border-color :#34a5e0 #eef0f1 #e3e3e5 #dcdcde; | |
| $accent-color :#FF7070 #39b54a #ee2ea0 #63c0f2 #50b4f0; | |
| // Specific Colours | |
| $highlight-color :nth($accent-color,1); | |
| $selected-color :nth($accent-color,2); | |
| $primary-action-color :nth($accent-color,3); |
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
| define(function(){ | |
| 'use strict'; | |
| return Backbone.View.extend({ | |
| getFields: function(){ | |
| return this.$(":input").not(':button, :submit, :reset'); | |
| }, | |
| parseFormData: function(data){ | |
| return data; | |
| }, |
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
| $breakpoint: "screen and (min-width:200px) and (max-width:400px)"; | |
| #id { | |
| @media #{$breakpoint} { | |
| color:red; | |
| } | |
| } |
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
| @include keyframes('throbber') { | |
| 0% { | |
| } | |
| 100% { | |
| } | |
| } |
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
| define(function(){ | |
| 'use strict'; | |
| var Confirm = Backbone.Posture.View.extend({ | |
| events: { | |
| 'click .js-confirm' : '_handleConfirm', | |
| 'click .js-cancel' : '_handleCancel' | |
| }, | |
| template: Handlebars.templates['ui/confirm'], |
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
| 'use strict' | |
| # -------------------------------------------------- | |
| # EventEmitter | |
| # -------------------------------------------------- | |
| emitter = Backbone.EventEmitter = _.extend {}, Backbone.Events | |
| # -------------------------------------------------- | |
| # Global subscriptions |