~stephen-stewart/online-services-common-js/update-global-nav

« back to all changes in this revision

Viewing changes to build/photos-photo-model/photos-photo-model-debug.js

  • Committer: Stephen Stewart
  • Date: 2014-02-22 15:05:16 UTC
  • Revision ID: stephen.stewart@canonical.com-20140222150516-rkzti2c43ggwr2ta
import latest js, convert

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
YUI.add('photos-photo-model', function (Y, NAME) {
 
2
 
 
3
"use strict";
 
4
var Photo = Y.Base.create('photo', Y.Model, [], {
 
5
    idAttribute: 'nodekey'
 
6
}, {
 
7
    ATTRS: {
 
8
        name: { value: null },
 
9
        thumbnail_url: { value: null },
 
10
        nodekey: {value:null},
 
11
        display_url: {value:null},
 
12
        last_modified: {value:null},
 
13
        owner: {value:null},
 
14
        public_url: {value: null},
 
15
        public_album_url: {value:null},
 
16
        public_thumb_base_url: {value:null},
 
17
        public_thumb_url: {value:null}
 
18
    }
 
19
});
 
20
 
 
21
Y.namespace('Photos').Photo = Photo;
 
22
 
 
23
 
 
24
}, '@VERSION@', {"requires": ["model"]});