Changeset 420 for Dev/branches/rest-dojo-ui/server
- Timestamp:
- 12/16/12 20:07:35 (12 years ago)
- Location:
- Dev/branches/rest-dojo-ui/server/couchdb-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/rest-dojo-ui/server/couchdb-admin/bootstrap.js
r415 r420 5 5 'dijit', 6 6 'dojox', 7 ' rft'7 'qed' 8 8 ], 9 9 '.':[ -
Dev/branches/rest-dojo-ui/server/couchdb-admin/config/check.js
r415 r420 1 1 define([ 2 2 'dojo/_base/array', 3 'dojo/_base/lang', 3 4 'dojox/json/schema', 4 ' ./util/async',5 'qed/lib/async', 5 6 './util/db', 6 ' rft/schema'7 ],function(array, jsonSchema,async,db,schema){7 'qed/model/schema' 8 ],function(array,lang,jsonSchema,async,db,schema){ 8 9 9 10 async.seq([ … … 23 24 function(docs){ 24 25 console.log("Validating documents."); 25 return async. forEach(docs,function(doc){26 return async.map(docs,function(doc){ 26 27 var id = doc.id; 27 28 return db.req('get','qed/'+id) … … 31 32 }); 32 33 }); 33 },function(){34 console.log("Done!");35 34 } 36 ]); 35 ]).then(function() { 36 console.log("Done!"); 37 },function(err){ 38 console.log("Fail!",err.stack); 39 }); 37 40 38 41 -
Dev/branches/rest-dojo-ui/server/couchdb-admin/config/config.js
r415 r420 3 3 'dojo/_base/lang', 4 4 'dojox/lang/functional', 5 ' ./util/async',5 'qed/lib/async', 6 6 './util/db', 7 7 './data/design-docs'
Note: See TracChangeset
for help on using the changeset viewer.