Created
August 5, 2011 06:49
-
-
Save justinpeterman/1127042 to your computer and use it in GitHub Desktop.
data in models
This file contains 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
Authoring.Campaign.FIXTURES = [ | |
{ | |
user_id: 2, | |
campaign_id: 1, | |
name: "Pepsi Faceoff Campaign", | |
thumb: 'path/to/image', | |
purchased_hits: 0, | |
current_hits: 0, | |
started: '2010-07-24', | |
ended: '2010-07-31', | |
modified: [{ | |
user_id: 2, | |
time: 2010 - 07 - 26, | |
}], | |
live: 0, | |
pages: [ | |
{ | |
name: "Landing Page", | |
description: "Landing Pages are where it all begins. Capture your audience with a strong call to action and have them explore your interactive advertisement on their device.", | |
icon: 'path/to/icon.png', | |
elements: [{ | |
type: 1, | |
name: "Header", | |
description: "Header description", | |
value: 'Im a sample header', | |
properties: ["HeaderView"] | |
}] | |
}, | |
//another page object... |
This file contains 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
Authoring.Campaign.FIXTURES = [ | |
{ | |
user_id: 2, | |
campaign_id: 1, | |
name: "Pepsi Faceoff Campaign", | |
thumb: 'path/to/image', | |
purchased_hits: 0, | |
current_hits: 0, | |
started: '2010-07-24', | |
ended: '2010-07-31', | |
modified: [{ | |
user_id: 2, | |
time: 2010 - 07 - 26, | |
}], | |
live: 0, | |
pages: [ | |
{ | |
page_type: 1, | |
elements: [{ | |
type: 1, | |
value: "I'm a sample header" | |
properties: ["HeaderView"] | |
}] | |
}, | |
//another page object... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment