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
| // Using the underscore library to loop | |
| comments = _.map(ids, function (id) { | |
| return self.store.createRecord('comment', { | |
| date: new Date(), | |
| owner: id, | |
| type: 'Mailed Notice' | |
| }); | |
| }); | |
| comments.invoke('save'); |
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 was the quickest way I could figure out how to load | |
| * the authenticated user into the app. It would make more sense | |
| * if I only made one query to the server for the authenticated user | |
| * (I could put the user id into a hidden input and load it from there) | |
| */ | |
| App.initializer({ | |
| name: 'loadCurrentUser', | |
| after: 'store', |
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
| (function () { | |
| 'use strict'; | |
| /* Very simple integration, you can add more of the options to | |
| * the component from the list in the 'Options' section of | |
| * http://getbootstrap.com/javascript/#tooltips-usage | |
| * | |
| * Usage: | |
| * <button type="button">{{#bs-tooltip title="tooltip text"}}Words{{/bs-tooltip}}</button> | |
| */ |
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
Show hidden characters
| { | |
| "undef": true, | |
| "bitwise": true, | |
| "eqeqeq": true, | |
| "forin": true, | |
| "freeze": true, | |
| "immed": true, | |
| "latedef": true, | |
| "newcap": true, | |
| "noarg": 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
| [ | |
| "affenpinscher", | |
| "afghan hound", | |
| "afghan shepherd", | |
| "aidi", | |
| "airedale terrier", | |
| "akbash", | |
| "akita inu", | |
| "alano español", | |
| "alaskan klee kai", |
NewerOlder