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 mixin can be used to extend a ListView class to adjust its width and height when resizing | |
# the browser. The dimensions of the ListView are synchronized with the width and height | |
# of the parent element that contains the ListView. | |
# | |
# Although this mixin sets the width and height you still have to define these properties when | |
# defining the ListView class. | |
# | |
# example: | |
# App.ListView = Ember.ListView.extend ListView.ListViewMixin, | |
# width: 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
InfiniteScroll = | |
ControllerMixin: Ember.Mixin.create( | |
hasMore: (-> | |
@meta('page') < @meta('total_pages') | |
).property('@each') | |
meta: (key) -> | |
@store.metadataFor(@_type())[key] | |
loadMore: -> |
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
// Inspiration: http://nicolasgallagher.com/css-drop-shadows-without-images/demo/ | |
@import 'compass/css3'; | |
@import 'compass/typography/vertical_rhythm'; | |
// Creates a curled-page. | |
// | |
// $corner - [default:$top-left] ( top-left | top-right | bottom-right | bottom-left) Corner to curl | |
// $direction - [default:$vertical] ( vertical | horizontal ) | |
// | |
// Example: |
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
gem 'capistrano' | |
gem 'rvm-capistrano' |
NewerOlder