source: Dev/trunk/src/client/qed-client/model/classes/sessions.js @ 531

Last change on this file since 531 was 531, checked in by hendrikvanantwerpen, 11 years ago
  • Return to using truly ISO formatted dates, including milliseconds.
  • Also set constraint on surveyrun dates when value is initially set.
  • Separate runs & results from surveys and questions.
  • Moved date & email format to schema itself.
File size: 477 bytes
Line 
1define([
2    "./_Class",
3    "./surveys",
4    "dojo/_base/declare"
5], function(_Class, surveys, declare) {
6
7    var Sessions = declare([_Class],{
8        _collection: 'sessions',
9        _type: 'Session',
10        create: function() {
11            var obj = {
12                type: this._type
13            };
14            return obj;
15        },
16        _deserialize: function(obj) {
17        },
18        _serialize: function(obj) {
19        }
20    });
21
22    return new Sessions();
23
24});
Note: See TracBrowser for help on using the repository browser.