-
mbr update, remove versions.json
-
Merge branch 'master' of https://github.com/CollectionFS/Meteor-cfs-file
-
update pkg, dependencies, delinting, etc.
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
| if (Meteor.isClient) { | |
| // Rig some famo.us deps | |
| //famousPolyfills; | |
| famous.polyfills; | |
| famous.core.famous; | |
| // Make sure dom got a body... | |
| Meteor.startup(function() { |
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
| roleTypes = { | |
| 'admin': 'Administrator', | |
| 'user': 'Bruger', | |
| 'editor': 'Redaktør', | |
| }; | |
| roleTypesList = []; | |
| _.each(roleTypes, function(val, key) { | |
| roleTypesList.push({ |
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
| if (Meteor.isClient) { | |
| // Basic animation handling | |
| var defer = function(current, last, scroll) { | |
| // Set the hide class and then remove the show | |
| $('#'+last).addClass('hide').removeClass('show'); | |
| // Remove the hide - this will make the transition fast | |
| $('#'+current).removeClass('hide'); | |
| Meteor.setTimeout(function() { |
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
| Meteor.methods({ | |
| 'addFoo': function(name) { | |
| check(name, String); | |
| foo.insert({ owner: this.userId, name }); | |
| } | |
| }); |
OlderNewer