Permalink
Browse files

new js build and rewrite of dependencies so that require.js is no lon…

…ger reqd.
  • Loading branch information...
1 parent 2b57f17 commit 0662e15b3b563bee47eace92deae40fd88e11e66 @jtraband jtraband committed Mar 16, 2013
Showing with 38,686 additions and 14,200 deletions.
  1. +1 −0 .gitignore
  2. +138 −34 Breeze.Client/Breeze.Client.csproj
  3. BIN Breeze.Client/Scripts/IBlade/_build.ps1
  4. +38 −0 Breeze.Client/Scripts/IBlade/_head.frag.js
  5. +18 −0 Breeze.Client/Scripts/IBlade/_tail.frag.js
  6. BIN Breeze.Client/Scripts/IBlade/_tmp.js
  7. +442 −0 Breeze.Client/Scripts/IBlade/a01_coreFns.js
  8. +351 −346 Breeze.Client/Scripts/IBlade/{assertParam.js → a05_assertParam.js}
  9. +278 −273 Breeze.Client/Scripts/IBlade/{enum.js → a05_enum.js}
  10. +302 −305 Breeze.Client/Scripts/IBlade/{event.js → a10_event.js}
  11. +287 −291 Breeze.Client/Scripts/IBlade/{config.js → a20_config.js}
  12. +244 −245 Breeze.Client/Scripts/IBlade/{dataType.js → a20_dataType.js}
  13. +748 −0 Breeze.Client/Scripts/IBlade/a25_validate.js
  14. +1,171 −0 Breeze.Client/Scripts/IBlade/a30_entityAspect.js
  15. +278 −0 Breeze.Client/Scripts/IBlade/a35_defaultPropertyInterceptor.js
  16. +2,704 −0 Breeze.Client/Scripts/IBlade/a40_entityMetadata.js
  17. +2,193 −0 Breeze.Client/Scripts/IBlade/a45_entityQuery.js
  18. +131 −135 Breeze.Client/Scripts/IBlade/{keyGenerator.js → a45_keyGenerator.js}
  19. +223 −230 Breeze.Client/Scripts/IBlade/{relationArray.js → a45_relationArray.js}
  20. +2,733 −0 Breeze.Client/Scripts/IBlade/a50_entityManager.js
  21. +0 −345 Breeze.Client/Scripts/IBlade/assertParam.copy.js
  22. +47 −43 Breeze.Client/Scripts/IBlade/{breeze.ajax.jQuery.js → b00_breeze.ajax.jQuery.js}
  23. +143 −143 Breeze.Client/Scripts/IBlade/{breeze.dataService.odata.js → b00_breeze.dataService.odata.js}
  24. +211 −211 Breeze.Client/Scripts/IBlade/{breeze.dataService.webApi.js → b00_breeze.dataService.webApi.js}
  25. +197 −197 Breeze.Client/Scripts/IBlade/{breeze.modelLibrary.backbone.js → b00_breeze.modelLibrary.backbone.js}
  26. +206 −206 ...nt/Scripts/IBlade/{breeze.modelLibrary.backingStore.js → b00_breeze.modelLibrary.backingStore.js}
  27. +173 −173 Breeze.Client/Scripts/IBlade/{breeze.modelLibrary.ko.js → b00_breeze.modelLibrary.ko.js}
  28. +12,141 −0 Breeze.Client/Scripts/IBlade/breeze.base.js
  29. +4 −0 Breeze.Client/Scripts/IBlade/breeze.base.min.js
  30. +0 −26 Breeze.Client/Scripts/IBlade/breeze.full.js
  31. +13,104 −19 Breeze.Client/Scripts/IBlade/breeze.js
  32. +4 −0 Breeze.Client/Scripts/IBlade/breeze.min.js
  33. +0 −13 Breeze.Client/Scripts/IBlade/build.full.js
  34. +0 −12 Breeze.Client/Scripts/IBlade/build.js
  35. +0 −11 Breeze.Client/Scripts/IBlade/build.ps1
  36. +0 −14 Breeze.Client/Scripts/IBlade/core.js
  37. +0 −451 Breeze.Client/Scripts/IBlade/coreFns.js
  38. +0 −290 Breeze.Client/Scripts/IBlade/defaultPropertyInterceptor.js
  39. +0 −1,188 Breeze.Client/Scripts/IBlade/entityAspect.js
  40. +0 −2,762 Breeze.Client/Scripts/IBlade/entityManager.js
  41. +0 −2,723 Breeze.Client/Scripts/IBlade/entityMetadata.js
  42. +0 −2,214 Breeze.Client/Scripts/IBlade/entityQuery.js
  43. +40 −40 Breeze.Client/Scripts/IBlade/{keyGeneratorInterface.js → iface.keyGeneratorInterface.js}
  44. +28 −28 Breeze.Client/Scripts/IBlade/{promise.js → iface.promise.js}
  45. +2 −2 Breeze.Client/Scripts/IBlade/testFns.js
  46. +0 −756 Breeze.Client/Scripts/IBlade/validate.js
  47. +19 −19 Breeze.Client/Scripts/Tests/testRunner.js
  48. +8 −1 Breeze.Client/Scripts/breeze.base.debug.js
  49. +8 −1 Breeze.Client/Scripts/breeze.debug.js
  50. BIN Breeze.WebApi/Breeze.WebApi.dll
  51. +50 −286 _Internal/Model_NorthwindIB_EDMX/NorthwindIB.Designer.cs
  52. +10 −75 _Internal/Model_NorthwindIB_EDMX/NorthwindIB.edmx
  53. +5 −6 _Internal/Sample_WebApi/Controllers/NorthwindIBModelController.cs
  54. +6 −86 _Internal/Sample_WebApi/Sample_WebApi.csproj
View
@@ -18,6 +18,7 @@ Unused
packages
.idea
thumbs.db
+node_modules
GetFtpCredential.ps1

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.
@@ -0,0 +1,38 @@
+/*
+ * Copyright 2012 IdeaBlade, Inc. All Rights Reserved.
+ * Use, reproduction, distribution, and modification of this code is subject to the terms and
+ * conditions of the IdeaBlade Breeze license, available at http://www.breezejs.com/license
+ *
+ * Author: Jay Traband
+ */
+
+(function (definition) {
+
+ // CommonJS
+ if (typeof exports === "object") {
+ module.exports = definition();
+ // RequireJS
+ } else if (typeof define === "function") {
+ define(definition);
+ // <script>
+ } else {
+ breeze = definition();
+ }
+
+})(function () {
+ var breeze = {
+ version: "1.2.2",
+ };
+
+
+ // legacy properties
+ breeze.entityModel = breeze;
+ // legacy properties - will not be supported after 3/1/2013
+ breeze.entityTracking_backingStore = "backingStore";
+ breeze.entityTracking_ko = "ko";
+ breeze.entityTracking_backbone = "backbone";
+ breeze.remoteAccess_odata = "odata";
+ breeze.remoteAccess_webApi = "webApi";
+
+// return breeze;
+// }();
@@ -0,0 +1,18 @@
+
+// set defaults
+breeze.config.initializeAdapterInstances({
+ ajax: "jQuery",
+ dataService: "webApi"
+});
+
+// don't initialize with ko unless it exists.
+var ko = window.ko;
+if ((!ko) && require) {
+ ko = require("ko");
+}
+if (ko) {
+ breeze.config.initializeAdapterInstance("modelLibrary", "ko");
+}
+
+return breeze;
+});
Binary file not shown.
Oops, something went wrong.

0 comments on commit 0662e15

Please sign in to comment.