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
# Karma configuration | |
# Generated on Tue Aug 20 2013 16:26:25 GMT-0400 (EDT) | |
module.exports = (config) -> | |
config.set | |
# base path, that will be used to resolve all patterns, eg. files, exclude | |
basePath: '..' | |
# frameworks to use |
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
class Backbone.Localytics.Models.SuperModel extends Backbone.Model | |
#modelName: null # The overridden sync method looks to see if this is set for including root in JSON | |
# Define how JSON properties should be parsed to Backbone models or collections: | |
# associations: | |
# kitties: Cats | |
# dog: Dog | |
# Parse nested data for associated models from the attributes hash into respective collections or models |