Ignore:
Timestamp:
03/19/14 21:33:13 (11 years ago)
Author:
hendrikvanantwerpen
Message:
  • Allow empty subcodes.
  • Use HTTPResult exclusively on server (no more q).
  • Set readonly & disabled on ourselves as well in _ComplexValueMixin
  • Split server into several modules.
  • Check codes on the variable level, not question level.
  • We can add modules in design documents now.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/src/server/bin/upgrade-db-3-to-4.js

    r508 r525  
    22  , upgradeCouch = require('../config/upgrade-couchdb')
    33  , cryptoken = require('../util/crypto-token')
    4   , Q = require('q')
     4  , HTTPResult = require('../util/http-result')
    55  , _ = require('underscore')
    66  ;
     
    2525        return doc;
    2626    } else {
    27         return Q.reject();
     27        return HTTPResult.fail();
    2828    }
    2929}).then(function(res){
Note: See TracChangeset for help on using the changeset viewer.