<div class="pop-over">
<span class="pop-over-anchor">
Pick Something
</span>
<div class="pop-over-body">
<ul>
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
| var broccoli = require('broccoli') | |
| var helpers = require('broccoli/lib/helpers') | |
| var path = require('path') | |
| var hapi = require('hapi') | |
| var synchronized = require('synchronized') | |
| var tree = helpers.loadBrocfile() | |
| var builder = new broccoli.Builder(tree) | |
| serve(builder) |
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
| Thing = FP.Model.extend({ | |
| things: FP.attr("hash") | |
| }) | |
| thing = store.createRecord("thing", { | |
| things: { | |
| foo: 1, | |
| bar: 2, | |
| baz: 3 | |
| } |
I hereby claim:
- I am rlivsey on github.
- I am rlivsey (https://keybase.io/rlivsey) on keybase.
- I have a public key whose fingerprint is 8FD2 C2D5 B45A 5ABE 6500 A7BC 4674 1858 8F70 6C03
To claim this, I am signing this object:
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
| // a controller which has a date property which defaults to today, serialized it to query params as a string | |
| FoosController = Ember.Route.extend({ | |
| queryParams: ["date:dateStr"], | |
| date: function(){ | |
| return moment() | |
| }.property(), | |
| dateStr: function(k, value) { |
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
| IndexController = Ember.Controller.extend | |
| queryParams: ["date"] | |
| date: ((k,v) -> v || moment()).property() | |
| `export default IndexController` |
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
| ThingController = Ember.ObjectController.extend | |
| # "prematurely" triggers when the item is assigned when setting up the controller | |
| # how to detect and ignore this? | |
| titleChanged: (-> | |
| @send "detailsChanged" | |
| ).observes("title") | |
| `export default ThingController` |
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
| ThingController = Ember.ObjectController.extend | |
| contentChanging: (-> | |
| @_contentChanging = true | |
| ).observesBefore("content") | |
| contentChanged: (-> | |
| @_contentChanging = false | |
| ).observes("content") |
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 {getScrollParent} from 'app/lib/dom'` | |
| alias = Ember.computed.alias | |
| PopOverComponent = Ember.Component.extend | |
| classNames: "pop-over" | |
| classNameBindings: ["position", "isShowing"] | |
| isShowing: false | |
| position: "bottom" |
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
| var fs = require('fs'); | |
| var path = require('path'); | |
| function unwatchedTree(dir) { | |
| return { | |
| read: function() { return dir; }, | |
| cleanup: function() { } | |
| }; | |
| } |
OlderNewer