Comprehensive animation support for ambitious Ember applications
https://github.com/ember-animation/liquid-fire
Simple, highly configurable flash messages for ember-cli.
| (function($){ | |
| var filters = { | |
| int: function(value){return typeof parseInt(value) !== 'NaN' ? parseInt(value) : null}, | |
| float: function(value){return typeof parseFloat(value) !== 'NaN' ? parseFloat(value) : null}, | |
| string: function(value){return ['string','boolean','number'].indexOf(typeof value) !== -1 ? value+'' : null}, | |
| array: function(value){return typeof value === 'object' && value.constructor === Array ? value : null}, | |
| object: function(value){return typeof value === 'object' ? value : null} | |
| } |
| <?php | |
| /** | |
| * @package Koowa.Plugin | |
| * @subpackage Docman | |
| * | |
| * @license GNU General Public License version 2 or later; see LICENSE.txt | |
| */ | |
| defined('KOOWA') or die; |
| <?php | |
| /** | |
| * @version $Id$ | |
| * @package Nooku_Plugins | |
| * @subpackage Koowa | |
| * @copyright Copyright (C) 2007 - 2012 Johan Janssens. All rights reserved. | |
| * @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> | |
| * @link http://www.nooku.org | |
| */ |
| <?php | |
| /** | |
| a. Embedding the user ID as a query string variable seems like a bad idea. I assume you’re using that to set a model state when you do your browse page. Here is what I would do: | |
| 1) create a settings controller if you haven’t already | |
| 2) depending upon which actions you need the user id set for, I would either set it as a model state in the controller constructor if you need user id set for all actions: | |
| **/ |
| /** | |
| * Custom data adapter | |
| * | |
| * Adapter delegates request methods to the entity resolver, rather than a regular ajax request. | |
| * Add/edit/delete methods are suppressed for this implementation but could easily be enabled | |
| * | |
| ***/ | |
| module.exports = DS.Adapter.extend({ |
| <?php | |
| /** | |
| * User: Oli Griffiths | |
| * Date: 06/03/15 | |
| * Time: 09:53 | |
| */ | |
| namespace Oligriffiths\Component\Foursquare; | |
| use Nooku\Library; |
| <?php | |
| namespace Nooku\Component\Overrides; | |
| use Nooku\Library; | |
| use Nooku\Component\Users; | |
| class UsersDispatcherAuthenticatorFacebook extends Library\DispatcherAuthenticatorAbstract | |
| { | |
| /** | |
| * A redirect url |
| # Remove remote references that have been deleted | |
| git fetch -p | |
| # Remove local branches that have been merged | |
| git branch --merged | grep -v master | xargs git branch -d |
| import Ember from 'ember'; | |
| import RSVP from 'rsvp'; | |
| //Make object proxy for promise | |
| const ObjectPromiseProxy = Ember.ObjectProxy.extend(Ember.PromiseProxyMixin); | |
| /** | |
| * Returns a computed property that combines all dependent | |
| * promises into an RSVP hash, which when resolves, calls |
Comprehensive animation support for ambitious Ember applications
https://github.com/ember-animation/liquid-fire
Simple, highly configurable flash messages for ember-cli.