- Twitter: @adman65
- Website or Blog: http://hawkins.io
- Company: Saltside Technologies http://saltside.se
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
| App = Ember.Application.create({}); | |
| App.Store = DS.Store.extend({ | |
| adapter: DS.RESTAdapter.create({ | |
| namespace: 'api', | |
| serializer: DS.RESTSerializer.extend({ | |
| extractMeta: function(loader, type, json) { | |
| this._super.apply(this, arguments); | |
| delete json.count; |
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
| DS.Model.reopenClass({ | |
| scope: function(name, fn) { | |
| Ember.defineProperty(this, '_'+name+'Filter', Ember.computed(function() { | |
| return this.filter(fn); | |
| })); | |
| Ember.defineProperty(this, name, Ember.computed('_'+name+'Filter.@each.id', function() { | |
| return this.get('_'+name+'Filter') | |
| })); |
- Email: me@broadcastingadam.com
- Twitter: @adman65
- Website or Blog: http://broadcastingadam.com
- Company: Radium Software
- Email: me@broadcastingadam.com
- Twitter: @adman65
- Website or Blog: http://broadcastingadam.com
- Company: Radium Software
- Email: me@broadcastingadam.com
- Twitter: @adman65
- Website or Blog: http://broadcastingadam.com
- Company: Radium Software
- Email: me@broadcastingadam.com
- Twitter: @adman65
- Website or Blog: http://broadcastingadam.com
- Company: Radium Software
- Email: me@broadcastingadam.com
- Twitter: @adman65
- Website or Blog: http://broadcastingadam.com
- Company: Radium Software
- Email: me@broadcastingadam.com
- Twitter: @adman65
- Website or Blog: http://broadcastingadam.com
- Company: Radium Software
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
| # Install with: | |
| # bash < <(curl -L https://raw.github.com/gist/2035307) | |
| # | |
| # Reference: http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debug | |
| echo "Installing ruby-debug with ruby-1.9.3-p125 ..." | |
| curl -OL http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem | |
| curl -OL http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem |
NewerOlder