Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Top level properites are things defined on a per-app basis
- * An app can container many pages
- * Pages can contain many components
- * Components may exist on many pages
- *
- * */
- {
- id: 324324,
- version: 12312312,
- mode : 'social', // This controls the views
- title: 'asdfasf',
- author: 'foobar guy',
- description: 'asdfasfdsafas',
- tags: [],
- timezone: "-8",
- platformOptions: {
- facebook : {
- tabTitle: 'foobar tab',
- fanPageId : '0',
- isFanPageId : 324234,
- isNotFanPAgeId : 234234234,
- promptForAppPermissions: true
- }
- }
- analytics: {
- type: 'google',
- code: 'foobar',
- },
- navigation: {
- type: 'foo',
- position: {}
- },
- style: {
- theme: '',
- font: {},
- link: {},
- background:{},
- border:{}
- },
- components:[
- {
- type: 'badge',
- unid: '1',
- prop1: 'xxx',
- prop2: 'xxx',
- sharing: {}
- },
- {
- type: 'ecard',
- unid: '2',
- prop1: 'xxx',
- prop2: 'xxx',
- sharing: {}
- },
- {
- type: 'html',
- unid: '3',
- prop1: 'xxx',
- prop2: 'xxx'
- },
- {
- type: 'gifting',
- unid: '4',
- prop1: 'xxx',
- prop2: 'xxx',
- sharing: {}
- },
- {
- type: 'image',
- unid: '5',
- prop1: 'xxx',
- prop2: 'xxx'
- }
- ],
- pages:[
- {
- id: 234234,
- label: 'This is my page 1',
- excludeFromNavigation: false,
- components: [1,5,6]
- },
- {
- id: 234234,
- label: 'This is my page 1',
- excludeFromNavigation: true,
- components: [2,5,7]
- },
- {
- id: 234234,
- label: 'This is my page 1',
- excludeFromNavigation: false,
- components: [3,4,8]
- }
- ]
- }
Add Comment
Please, Sign In to add comment