Permalink
Browse files

Merge pull request #581 from mojit0/develop

Fix broken tests due to missing dependencies/requires.
  • Loading branch information...
mojit0 committed Sep 29, 2012
2 parents 23779bb + e12e454 commit 57051fb75dba9be7b9ed8699a2e706375dc8beaa
Showing with 66 additions and 64 deletions.
  1. +2 −1 examples/developer-guide/adding_view_engines/package.json
  2. +1 −1 examples/developer-guide/binding_events/mojits/PagerMojit/models/model.server.js
  3. +1 −1 examples/developer-guide/configure_routing/mojits/RoutingMojit/models/model.server.js
  4. +1 −1 examples/developer-guide/device_views/mojits/device/models/model.server.js
  5. +1 −1 examples/developer-guide/framed_assets/mojits/framed/models/model.server.js
  6. +1 −1 examples/developer-guide/framed_config/mojits/MainMojit/models/model.server.js
  7. +1 −1 examples/developer-guide/generating_urls/mojits/GenURLMojit/models/model.server.js
  8. +1 −1 examples/developer-guide/hello/mojits/HelloMojit/models/model.server.js
  9. +1 −1 examples/developer-guide/htmlframe_mojit/mojits/framed/models/model.server.js
  10. +1 −1 examples/developer-guide/locale_i18n/mojits/i18n/models/model.server.js
  11. +1 −1 examples/developer-guide/model_yql/mojits/flickr/models/model.server.js
  12. +1 −1 examples/developer-guide/multiple_mojits/mojits/BodyMojit/models/model.server.js
  13. +1 −1 examples/developer-guide/multiple_mojits/mojits/FooterMojit/models/model.server.js
  14. +1 −1 examples/developer-guide/multiple_mojits/mojits/FrameMojit/models/model.server.js
  15. +1 −1 examples/developer-guide/multiple_mojits/mojits/HeaderMojit/models/model.server.js
  16. +1 −1 examples/developer-guide/scroll_views/mojits/scroll/models/model.server.js
  17. +1 −1 examples/developer-guide/simple_assets/mojits/simple/models/model.server.js
  18. +1 −1 examples/developer-guide/simple_config/mojits/SimpleMojit/models/model.server.js
  19. +1 −1 examples/developer-guide/simple_view/mojits/simple/models/model.server.js
  20. +1 −1 examples/developer-guide/unittest_model_controller/mojits/flickr/models/model.server.js
  21. +1 −1 examples/developer-guide/using_cookies/mojits/CookieMojit/models/model.server.js
  22. +1 −1 examples/developer-guide/using_parameters/mojits/QueryMojit/models/model.server.js
  23. +1 −1 examples/getting-started-guide/part2/basic_yql/mojits/Flickr/models/model.server.js
  24. +1 −1 examples/getting-started-guide/part3/intl-templates/mojits/Flickr/models/model.server.js
  25. +1 −0 examples/newsboxes/mojits/Read/models/rss.common.js
  26. +1 −1 examples/newsboxes/mojits/Weather/models/YqlWeatherModel.common.js
  27. +1 −1 examples/sandbox/bindercomm/mojits/BlueChild/models/model.server.js
  28. +1 −1 examples/sandbox/bindercomm/mojits/Parent/models/model.server.js
  29. +1 −1 examples/sandbox/bindercomm/mojits/RedChild/models/model.server.js
  30. +1 −1 examples/sandbox/controller-state/mojits/Parent/models/model.server.js
  31. +1 −1 examples/sandbox/metabubble/mojits/Child/models/model.server.js
  32. +1 −1 examples/sandbox/metabubble/mojits/Parent/models/model.server.js
  33. +1 −1 examples/sandbox/server_side/mojits/Layout/models/model.server.js
  34. +1 −1 examples/sandbox/server_side/mojits/MyServer/models/model.server.js
  35. +1 −1 examples/sandbox/view_refresh/mojits/ColoredChild/models/model.server.js
  36. +1 −1 examples/sandbox/view_refresh/mojits/Parent/models/model.server.js
  37. +1 −1 examples/simple/part5/mojits/myMojit/models/model.server.js
  38. +1 −1 examples/simple/part6/mojits/myMojit/models/model.server.js
  39. +1 −1 examples/simple/part7/mojits/myMojit/models/model.server.js
  40. +1 −1 examples/simple/part8/mojits/myMojit/models/model.server.js
  41. +1 −1 lib/tests/fixtures/store/mojits/rollups/models/model.server.js
  42. +1 −1 tests/fixtures/store/mojits/rollups/models/model.server.js
  43. +1 −1 tests/func/applications/frameworkapp/commandline/mojits/Coverage/models/model.server.js
  44. +1 −1 tests/func/applications/frameworkapp/commandline/mojits/ExecuteCommand/models/model.server.js
  45. +1 −1 tests/func/applications/frameworkapp/common/mojits/Coverage/models/model.server.js
  46. +1 −1 tests/func/applications/frameworkapp/common/mojits/MobileDevices/models/model.server.js
  47. +1 −1 tests/func/applications/frameworkapp/common/mojits/MojitContainer/models/model.server.js
  48. +1 −1 tests/func/applications/frameworkapp/common/mojits/Stateful/models/model.server.js
  49. +1 −1 ...ications/frameworkapp/common/mojits_subdir1/other_mojits/AccessGlobalMojit/models/model.server.js
  50. +1 −1 tests/func/applications/frameworkapp/configapp/mojits/Coverage/models/model.server.js
  51. +1 −1 tests/func/applications/frameworkapp/routing/mojits/Coverage/models/model.server.js
  52. +1 −1 tests/func/applications/frameworkapp/routing/mojits/Poster/models/model.server.js
  53. +1 −1 tests/func/applications/frameworkapp/routing/mojits/ShowUrl/models/model.server.js
  54. +1 −1 tests/func/applications/frameworkapp/routing/mojits/SimpleRoute/models/model.server.js
  55. +1 −1 tests/func/applications/frameworkapp/routing/mojits/SimpleRoute2/models/model.server.js
  56. +1 −1 tests/func/applications/frameworkapp/serveronly/mojits/Coverage/models/model.server.js
  57. +1 −1 tests/func/applications/frameworkapp/serveronly/mojits/HttpAddonChild/models/model.server.js
  58. +1 −1 tests/func/applications/frameworkapp/serveronly/mojits/HttpAddonParent/models/model.server.js
  59. +1 −1 tests/func/applications/frameworkapp/serveronly/mojits/RefreshChild/models/foo.server.js
  60. +1 −1 tests/func/applications/frameworkapp/usecase/mojits/Coverage/models/model.server.js
  61. +1 −1 tests/func/applications/frameworkapp/usecase/mojits/i18nMojit/models/model.server.js
  62. +1 −1 tests/func/applications/frameworkapp/usecase/mojits/i18n_Mojit/models/model.server.js
  63. +1 −1 tests/func/applications/performanceapp/part5/mojits/myMojit/models/model.server.js
  64. +1 −1 tests/func/applications/performanceapp/part6/mojits/myMojit/models/model.server.js
  65. +1 −1 tests/func/applications/performanceapp/part7/mojits/myMojit/models/model.server.js
@@ -13,7 +13,8 @@
}
],
"dependencies": {
- "mojito": ">= 0.1.0"
+ "mojito": ">= 0.1.0",
+ "ejs": "*"
},
"engines": {
"node": ">= 0.4.2 < 0.5.0"
@@ -51,4 +51,4 @@ YUI.add('PagerMojitModel', function(Y) {
});
}
};
-}, '0.0.1', {requires: ['yql']});
+}, '0.0.1', {requires: ['mojito', 'yql']});
@@ -36,4 +36,4 @@ YUI.add('RoutingMojitModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -36,4 +36,4 @@ YUI.add('deviceModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -36,4 +36,4 @@ YUI.add('framedModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -13,4 +13,4 @@ YUI.add('MainMojitModel', function(Y) {
}
};
-}, '0.0.1', {requires: ['']});
+}, '0.0.1', {requires: ['mojito']});
@@ -36,4 +36,4 @@ YUI.add('GenURLMojitModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -36,4 +36,4 @@ YUI.add('HelloMojitModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -36,4 +36,4 @@ YUI.add('framedModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -36,4 +36,4 @@ YUI.add('i18nModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -55,4 +55,4 @@ YUI.add('flickrModel', function(Y) {
});
}
};
-}, '0.0.1', { requires: ['yql']});
+}, '0.0.1', { requires: ['mojito', 'yql']});
@@ -36,4 +36,4 @@ YUI.add('BodyMojitModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -36,4 +36,4 @@ YUI.add('FooterMojitModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -36,4 +36,4 @@ YUI.add('FrameMojitModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -36,4 +36,4 @@ YUI.add('HeaderMojitModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -14,4 +14,4 @@ YUI.add('scrollModel', function(Y) {
callback({some:'data'});
}
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -36,4 +36,4 @@ YUI.add('simpleModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -36,4 +36,4 @@ YUI.add('SimpleMojitModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -36,4 +36,4 @@ YUI.add('simpleModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -55,4 +55,4 @@ var API_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
});
}
};
-}, '0.0.1', {requires: ['yql']});
+}, '0.0.1', {requires: ['mojito', 'yql']});
@@ -36,4 +36,4 @@ YUI.add('CookieMojitModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -36,4 +36,4 @@ YUI.add('QueryMojitModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -60,4 +60,4 @@ YUI.add('FlickrModel', function(Y) {
}
// TODO: remove 'jsonp-url' requirement when YUI fix for bug http://yuilibrary.com/projects/yui3/ticket/2530251 is deployed.
-}, '0.0.1', {requires: ['yql', 'jsonp-url']});
+}, '0.0.1', {requires: ['mojito', 'yql', 'jsonp-url']});
@@ -59,4 +59,4 @@ YUI.add('FlickrModel', function(Y) {
}
// TODO: remove 'jsonp-url' requirement when YUI fix for bug http://yuilibrary.com/projects/yui3/ticket/2530251 is deployed.
-}, '0.0.1', {requires: ['yql', 'jsonp-url']});
+}, '0.0.1', {requires: ['mojito', 'yql', 'jsonp-url']});
@@ -150,6 +150,7 @@ YUI.add('ReadModelRss', function(Y, NAME) {
};
}, '0.0.1', {requires: [
+ 'mojito',
'yql',
'jsonp-url'
]});
@@ -51,7 +51,7 @@ YUI.add('YqlWeatherModel', function(Y, NAME) {
}
};
-}, '0.0.1', {requires: ['yql', 'jsonp-url']});
+}, '0.0.1', {requires: ['mojito', 'yql', 'jsonp-url']});
/*
http://query.yahooapis.com/v1/public/yql?loc=san+francisco,california&env=store://datatables.org/alltableswithkeys&format=json&q=SELECT+item.condition,item.description+FROM+weather.forecast+WHERE+location+IN(SELECT+id+FROM+weather.search+WHERE+query=@loc)+LIMIT+1
@@ -36,4 +36,4 @@ YUI.add('BlueChildModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -36,4 +36,4 @@ YUI.add('ParentModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -36,4 +36,4 @@ YUI.add('RedChildModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -36,4 +36,4 @@ YUI.add('ParentModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -36,4 +36,4 @@ YUI.add('ChildModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -36,4 +36,4 @@ YUI.add('ParentModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -36,4 +36,4 @@ YUI.add('LayoutModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -36,4 +36,4 @@ YUI.add('MyServerModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -18,4 +18,4 @@ YUI.add('ColoredChildModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -18,4 +18,4 @@ YUI.add('ParentModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -18,4 +18,4 @@ YUI.add('myMojitModel', function(Y) {
}
};
-});
+}, '0.0.1', {requires: ['mojito']});
@@ -18,4 +18,4 @@ YUI.add('myMojitModel', function(Y) {
}
};
-});
+}, '0.0.1', {requires: ['mojito']});
@@ -18,4 +18,4 @@ YUI.add('myMojitModel', function(Y) {
}
};
-});
+}, '0.0.1', {requires: ['mojito']});
@@ -18,4 +18,4 @@ YUI.add('myMojitModel', function(Y) {
}
};
-});
+}, '0.0.1', {requires: ['mojito']});
@@ -15,4 +15,4 @@ YUI.add('rollupsModelServer', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -15,4 +15,4 @@ YUI.add('rollupsModelServer', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -15,4 +15,4 @@ YUI.add('CoverageModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -33,4 +33,4 @@ YUI.add('ExecuteCommandModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -15,4 +15,4 @@ YUI.add('CoverageModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -15,4 +15,4 @@ YUI.add('MobileDevicesModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -33,4 +33,4 @@ YUI.add('MojitContainerModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -33,4 +33,4 @@ YUI.add('StatefulModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -15,4 +15,4 @@ YUI.add('AccessGlobalMojitModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -15,4 +15,4 @@ YUI.add('CoverageModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -15,4 +15,4 @@ YUI.add('CoverageModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -33,4 +33,4 @@ YUI.add('PosterModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -33,4 +33,4 @@ YUI.add('ShowUrlModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -33,4 +33,4 @@ YUI.add('SimpleRouteModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -33,4 +33,4 @@ YUI.add('SimpleRoute2Model', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -15,4 +15,4 @@ YUI.add('CoverageModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -33,4 +33,4 @@ YUI.add('HttpAddonChildModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -54,4 +54,4 @@ YUI.add('HttpAddonParentModel', function(Y) {
}
};
-}, '0.0.1', {requires: ['mojito-rest-lib']});
+}, '0.0.1', {requires: ['mojito', 'mojito-rest-lib']});
@@ -34,4 +34,4 @@ YUI.add('RefreshChildModelFoo', function(Y, NAME) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -33,4 +33,4 @@ YUI.add('CoverageModel', function(Y) {
};
-}, '0.0.1', {requires: []});
+}, '0.0.1', {requires: ['mojito']});
@@ -58,4 +58,4 @@ YUI.add('i18nMojitModel', function(Y) {
+ '/' + record.id + '_' + record.secret + '.jpg';
}
-}, '0.0.1', {requires: ['yql']});
+}, '0.0.1', {requires: ['mojito', 'yql']});
@@ -47,4 +47,4 @@ YUI.add('i18n_MojitModel', function(Y) {
+ '/' + record.id + '_' + record.secret + '.jpg';
}
-}, '0.0.1', {requires: ['yql']});
+}, '0.0.1', {requires: ['mojito', 'yql']});
@@ -15,4 +15,4 @@ YUI.add('myMojitModel', function(Y) {
}
};
-});
+}, '0.0.1', {requires: ['mojito']});
@@ -15,4 +15,4 @@ YUI.add('myMojitModel', function(Y) {
}
};
-});
+}, '0.0.1', {requires: ['mojito']});
Oops, something went wrong.

0 comments on commit 57051fb

Please sign in to comment.