Permalink
Browse files

feature: DI added

  • Loading branch information...
MikeMitterer committed Apr 30, 2015
1 parent 7c7fc3f commit 32a8d66f50222882d488ee9da1d10e3cf1e0f362
Showing with 4,316 additions and 4,252 deletions.
  1. +1 −1 example/accordion/web/main.dart
  2. +5 −3 example/animation/web/main.dart
  3. +1 −1 example/badge/web/main.dart
  4. +1 −1 example/button/web/main.dart
  5. +1 −1 example/card/web/main.dart
  6. +1 −1 example/checkbox/web/main.dart
  7. +1 −1 example/content/web/main.dart
  8. +1 −1 example/footer/web/main.dart
  9. +82 −56 example/forms/web/demo.css
  10. +1 −1 example/grid/web/main.dart
  11. +1 −1 example/icon-toggle/web/main.dart
  12. +1 −1 example/icons/web/main.dart
  13. +82 −56 example/layout-header-drawer/web/styles/demo.css
  14. +1 −1 example/layout/web/main.dart
  15. +1 −1 example/list/web/main.dart
  16. +1 −1 example/menu/web/main.dart
  17. +1 −1 example/nav-pills/web/main.dart
  18. +1 −1 example/palette/web/main.dart
  19. +1 −1 example/panel/web/main.dart
  20. +1 −1 example/progress/web/main.dart
  21. +1 −1 example/radio/web/main.dart
  22. +1 −1 example/shadow/web/main.dart
  23. +1 −1 example/slider/web/main.dart
  24. +1 −1 example/spinner/web/main.dart
  25. +0 −1 example/styleguide/html/_data/components.json
  26. +2 −2 example/styleguide/html/_partials/usage/accordion/dart.html
  27. +34 −34 example/styleguide/html/_partials/usage/accordion/html.html
  28. +5 −3 example/styleguide/html/_partials/usage/animation/dart.html
  29. +5 −5 example/styleguide/html/_partials/usage/animation/html.html
  30. +3 −3 example/styleguide/html/_partials/usage/badge/dart.html
  31. +51 −51 example/styleguide/html/_partials/usage/badge/html.html
  32. +2 −2 example/styleguide/html/_partials/usage/button/dart.html
  33. +35 −35 example/styleguide/html/_partials/usage/button/html.html
  34. +2 −2 example/styleguide/html/_partials/usage/card/dart.html
  35. +38 −38 example/styleguide/html/_partials/usage/card/html.html
  36. +2 −2 example/styleguide/html/_partials/usage/checkbox/dart.html
  37. +13 −13 example/styleguide/html/_partials/usage/checkbox/html.html
  38. +2 −2 example/styleguide/html/_partials/usage/footer/dart.html
  39. +56 −56 example/styleguide/html/_partials/usage/footer/html.html
  40. +1 −1 example/styleguide/html/_partials/usage/forms/dart.html
  41. +2 −2 example/styleguide/html/_partials/usage/grid/dart.html
  42. +28 −28 example/styleguide/html/_partials/usage/grid/html.html
  43. +2 −2 example/styleguide/html/_partials/usage/icon-toggle/dart.html
  44. +28 −28 example/styleguide/html/_partials/usage/icon-toggle/html.html
  45. +2 −2 example/styleguide/html/_partials/usage/icons/dart.html
  46. +787 −787 example/styleguide/html/_partials/usage/icons/html.html
  47. +2 −2 example/styleguide/html/_partials/usage/layout/dart.html
  48. +2 −2 example/styleguide/html/_partials/usage/list/dart.html
  49. +58 −58 example/styleguide/html/_partials/usage/list/html.html
  50. +2 −2 example/styleguide/html/_partials/usage/menu/dart.html
  51. +30 −30 example/styleguide/html/_partials/usage/menu/html.html
  52. +2 −2 example/styleguide/html/_partials/usage/nav-pills/dart.html
  53. +37 −37 example/styleguide/html/_partials/usage/nav-pills/html.html
  54. +2 −2 example/styleguide/html/_partials/usage/palette/dart.html
  55. +318 −318 example/styleguide/html/_partials/usage/palette/html.html
  56. +2 −2 example/styleguide/html/_partials/usage/panel/dart.html
  57. +17 −17 example/styleguide/html/_partials/usage/panel/html.html
  58. +5 −5 example/styleguide/html/_partials/usage/progress/dart.html
  59. +11 −11 example/styleguide/html/_partials/usage/progress/html.html
  60. +2 −2 example/styleguide/html/_partials/usage/radio/dart.html
  61. +14 −14 example/styleguide/html/_partials/usage/radio/html.html
  62. +2 −2 example/styleguide/html/_partials/usage/shadow/dart.html
  63. +8 −8 example/styleguide/html/_partials/usage/shadow/html.html
  64. +2 −2 example/styleguide/html/_partials/usage/slider/dart.html
  65. +9 −9 example/styleguide/html/_partials/usage/slider/html.html
  66. +2 −2 example/styleguide/html/_partials/usage/spinner/dart.html
  67. +8 −8 example/styleguide/html/_partials/usage/spinner/html.html
  68. +2 −2 example/styleguide/html/_partials/usage/switch/dart.html
  69. +13 −13 example/styleguide/html/_partials/usage/switch/html.html
  70. +2 −2 example/styleguide/html/_partials/usage/tabs/dart.html
  71. +25 −25 example/styleguide/html/_partials/usage/tabs/html.html
  72. +2 −2 example/styleguide/html/_partials/usage/textfield/dart.html
  73. +49 −49 example/styleguide/html/_partials/usage/textfield/html.html
  74. +3 −3 example/styleguide/html/_partials/usage/toast/dart.html
  75. +22 −22 example/styleguide/html/_partials/usage/toast/html.html
  76. +2 −2 example/styleguide/html/_partials/usage/tooltip/dart.html
  77. +10 −10 example/styleguide/html/_partials/usage/tooltip/html.html
  78. +2 −2 example/styleguide/html/_partials/usage/typography/dart.html
  79. +139 −139 example/styleguide/html/_partials/usage/typography/html.html
  80. +6 −0 example/styleguide/pubspec.yaml
  81. +0 −1 example/styleguide/web/index.html
  82. +18 −14 example/styleguide/web/main.dart
  83. +36 −36 example/styleguide/web/views/usage/accordion.html
  84. +9 −8 example/styleguide/web/views/usage/animation.html
  85. +54 −54 example/styleguide/web/views/usage/badge.html
  86. +37 −37 example/styleguide/web/views/usage/button.html
  87. +40 −40 example/styleguide/web/views/usage/card.html
  88. +15 −15 example/styleguide/web/views/usage/checkbox.html
  89. +58 −58 example/styleguide/web/views/usage/footer.html
  90. +1 −1 example/styleguide/web/views/usage/forms.html
  91. +30 −30 example/styleguide/web/views/usage/grid.html
  92. +30 −30 example/styleguide/web/views/usage/icon-toggle.html
  93. +789 −789 example/styleguide/web/views/usage/icons.html
  94. +2 −2 example/styleguide/web/views/usage/layout.html
  95. +60 −60 example/styleguide/web/views/usage/list.html
  96. +32 −32 example/styleguide/web/views/usage/menu.html
  97. +39 −39 example/styleguide/web/views/usage/nav-pills.html
  98. +320 −320 example/styleguide/web/views/usage/palette.html
  99. +19 −19 example/styleguide/web/views/usage/panel.html
  100. +16 −16 example/styleguide/web/views/usage/progress.html
  101. +16 −16 example/styleguide/web/views/usage/radio.html
  102. +10 −10 example/styleguide/web/views/usage/shadow.html
  103. +11 −11 example/styleguide/web/views/usage/slider.html
  104. +10 −10 example/styleguide/web/views/usage/spinner.html
  105. +15 −15 example/styleguide/web/views/usage/switch.html
  106. +27 −27 example/styleguide/web/views/usage/tabs.html
  107. +51 −51 example/styleguide/web/views/usage/textfield.html
  108. +25 −25 example/styleguide/web/views/usage/toast.html
  109. +12 −12 example/styleguide/web/views/usage/tooltip.html
  110. +141 −141 example/styleguide/web/views/usage/typography.html
  111. +1 −1 example/switch/web/main.dart
  112. +1 −1 example/tabs/web/main.dart
  113. +1 −1 example/textfield/web/main.dart
  114. +1 −1 example/toast/web/main.dart
  115. +9 −3 example/todo/lib/src/ToDoItem.dart
  116. +1 −0 example/todo/lib/todo.dart
  117. +1 −1 example/tooltip/web/main.dart
  118. +1 −1 example/typography/web/main.dart
  119. +3 −1 lib/assets/styles/animation/main.dart
  120. +1 −1 lib/assets/styles/badge/main.dart
  121. +1 −1 lib/assets/styles/dialog/main.dart
  122. +1 −1 lib/assets/styles/icon-toggle/main.dart
  123. +1 −1 lib/assets/styles/menu/main.dart
  124. +1 −1 lib/assets/styles/progress/main.dart
  125. +1 −1 lib/assets/styles/radio/main.dart
  126. +1 −1 lib/assets/styles/slider/main.dart
  127. +1 −1 lib/assets/styles/spinner/main.dart
  128. +1 −1 lib/assets/styles/toast/main.dart
  129. +0 −2 lib/mdl.dart
  130. +8 −6 lib/mdlcomponets.dart
  131. +1 −0 lib/mdlcore.dart
  132. +1 −0 lib/mdldemo.dart
  133. +2 −0 lib/mdlremote.dart
  134. +1 −0 lib/mdltemplatecomponents.dart
  135. +26 −20 lib/src/MdlComponent.dart
  136. +22 −4 lib/src/MdlComponentHandler.dart
  137. +8 −7 lib/src/MdlConfig.dart
  138. +7 −3 lib/src/components/MaterialAccordion.dart
  139. +10 −4 lib/src/components/MaterialBadge.dart
  140. +7 −3 lib/src/components/MaterialButton.dart
  141. +7 −3 lib/src/components/MaterialCheckbox.dart
  142. +0 −76 lib/src/components/MaterialColumnLayout.dart
  143. +10 −6 lib/src/components/MaterialIconToggle.dart
  144. +0 −76 lib/src/components/MaterialItem.dart
  145. +7 −3 lib/src/components/MaterialLayout.dart
  146. +10 −3 lib/src/components/MaterialMenu.dart
  147. +10 −3 lib/src/components/MaterialProgress.dart
  148. +9 −4 lib/src/components/MaterialRadio.dart
  149. +14 −3 lib/src/components/MaterialRipple.dart
  150. +7 −3 lib/src/components/MaterialSlider.dart
  151. +7 −3 lib/src/components/MaterialSpinner.dart
  152. +7 −3 lib/src/components/MaterialSwitch.dart
  153. +8 −3 lib/src/components/MaterialTabs.dart
  154. +8 −4 lib/src/components/MaterialTextfield.dart
  155. +9 −4 lib/src/components/MaterialTooltip.dart
  156. +8 −4 lib/src/demo/DemoAnimation.dart
  157. +9 −7 lib/src/remote/MaterialContent.dart
  158. +12 −0 lib/src/remote/MaterialContoller.dart
  159. +10 −8 lib/src/remote/MaterialInclude.dart
  160. +1 −1 lib/src/remote/Renderer.dart
  161. +4 −1 lib/src/remote/ViewFactory.dart
  162. +10 −4 lib/src/templatecomponents/MaterialMustache.dart
  163. +1 −1 lib/src/templatecomponents/MdlTemplateComponent.dart
  164. +1 −0 pubspec.yaml
  165. +1 −1 tool/templates/main.tmpl.dart
@@ -10,7 +10,7 @@ main() {
registerMdl();
- upgradeAllRegistered().then((_) {
+ componentFactory().run().then((_) {
});
}
@@ -9,16 +9,18 @@ main() {
// registerDemoAnimation and import mdldemo.dart is only necessary for animation sample
registerDemoAnimation();
- registerAllMdlComponents();
+ //registerAllMdlComponents();
- upgradeAllRegistered();
+ componentFactory().run().then((_){
+
+ });
}
void configLogging() {
hierarchicalLoggingEnabled = false; // set this to true - its part of Logging SDK
// now control the logging.
// Turn off all logging first
- Logger.root.level = Level.INFO;
+ Logger.root.level = Level.FINE;
Logger.root.onRecord.listen(new LogConsoleHandler());
}
@@ -13,7 +13,7 @@ main() {
registerMdl();
- upgradeAllRegistered().then((_) {
+ componentFactory().run().then((_) {
final MaterialBadge badge1 = MaterialBadge.widget(dom.querySelector("#el1"));
int counter = 1;
new Timer.periodic(new Duration(milliseconds: 100), (_) {
@@ -10,7 +10,7 @@ main() {
registerMdl();
- upgradeAllRegistered().then((_) {
+ componentFactory().run().then((_) {
});
}
@@ -10,7 +10,7 @@ main() {
registerMdl();
- upgradeAllRegistered().then((_) {
+ componentFactory().run().then((_) {
});
}
@@ -10,7 +10,7 @@ main() {
registerMdl();
- upgradeAllRegistered().then((_) {
+ componentFactory().run().then((_) {
});
}
@@ -58,7 +58,7 @@ main() {
registerMdl();
- upgradeAllRegistered().then((_) {
+ componentFactory().run().then((_) {
final MaterialSlider mainslider = MaterialSlider.widget(dom.querySelector("#mainslider2"));
final MaterialContent list = MaterialContent.widget(dom.querySelector("#list"));
@@ -10,7 +10,7 @@ main() {
registerMdl();
- upgradeAllRegistered().then((_) {
+ componentFactory().run().then((_) {
});
}
Oops, something went wrong.

0 comments on commit 32a8d66

Please sign in to comment.