Permalink
Browse files

Added AMD loading

  • Loading branch information...
1 parent dd17418 commit b375e5fca889df5157488511d08fac66d3584dc0 Kevin Malakoff committed Sep 14, 2012
Showing with 5,611 additions and 28,247 deletions.
  1. +15 −14 Bakefile.coffee
  2. +1 −1 README.md
  3. +1 −0 RELEASE_NOTES.md
  4. +1 −1 examples/pn-nt+_xui.html
  5. +1 −1 examples/pn-t-e_zpt_ko.html
  6. +1 −1 examples/pn-t_zpt.html
  7. +1 −1 examples/pnp-dt_zpt_pth.html
  8. +1 −1 examples/pnp-t-e_jq_kb.html
  9. +1 −1 examples/pnp-t-nh_zpt_pth.html
  10. +1 −1 examples/pnp-t_jq_kb.html
  11. +1 −1 examples/pnp-t_zpt_bb.html
  12. +1 −1 examples/pnp-t_zpt_kb.html
  13. +1 −1 examples/pnp-t_zpt_pth.html
  14. +1 −1 examples/pnp-t_zpt_pth_ko.html
  15. +0 −7,727 examples/vendor/knockback-core-stack-0.16.4.js
  16. +4 −4 examples/vendor/knockback-core-stack-0.16.5.js
  17. +2 −1 index.html
  18. +7 −0 knockback-navigators.css
  19. +712 −708 knockback-page-navigator-panes.js
  20. +5 −8 knockback-page-navigator-panes.min.js
  21. +306 −302 knockback-page-navigator-simple.js
  22. +5 −8 knockback-page-navigator-simple.min.js
  23. +573 −569 knockback-pane-navigator.js
  24. +5 −8 knockback-pane-navigator.min.js
  25. +212 −0 lib/knockback-sample-transitions-jquery.js
  26. +6 −0 lib/knockback-sample-transitions-jquery.min.js
  27. +0 −200 lib/knockback-sample-transitions.js
  28. +0 −9 lib/knockback-sample-transitions.min.js
  29. +1 −1 package.json
  30. +1 −1 packages/npm/README.md
  31. +7 −0 packages/npm/knockback-navigators.css
  32. +712 −708 packages/npm/knockback-page-navigator-panes.js
  33. +5 −8 packages/npm/knockback-page-navigator-panes.min.js
  34. +306 −302 packages/npm/knockback-page-navigator-simple.js
  35. +5 −8 packages/npm/knockback-page-navigator-simple.min.js
  36. +573 −569 packages/npm/knockback-pane-navigator.js
  37. +5 −8 packages/npm/knockback-pane-navigator.min.js
  38. +212 −0 packages/npm/lib/knockback-sample-transitions-jquery.js
  39. +6 −0 packages/npm/lib/knockback-sample-transitions-jquery.min.js
  40. +7 −0 packages/nuget/Content/Scripts/knockback-navigators.css
  41. +712 −708 packages/nuget/Content/Scripts/knockback-page-navigator-panes.js
  42. +5 −8 packages/nuget/Content/Scripts/knockback-page-navigator-panes.min.js
  43. +306 −302 packages/nuget/Content/Scripts/knockback-page-navigator-simple.js
  44. +5 −8 packages/nuget/Content/Scripts/knockback-page-navigator-simple.min.js
  45. +573 −569 packages/nuget/Content/Scripts/knockback-pane-navigator.js
  46. +5 −8 packages/nuget/Content/Scripts/knockback-pane-navigator.min.js
  47. +212 −0 packages/nuget/Content/Scripts/lib/knockback-sample-transitions-jquery.js
  48. +6 −0 packages/nuget/Content/Scripts/lib/knockback-sample-transitions-jquery.min.js
  49. +2 −2 src/component-imports.coffee
  50. +18 −0 src/knockback-page-navigator-panes/module-loader.js
  51. +18 −0 src/knockback-page-navigator-simple/module-loader.js
  52. +18 −0 src/knockback-pane-navigator/module-loader.js
  53. +3 −0 src/knockback-sample-transitions-jquery/component-imports.coffee
  54. 0 ...ple-transitions → knockback-sample-transitions-jquery}/knockback-transition-cover-vertical.coffee
  55. 0 ...ack-sample-transitions → knockback-sample-transitions-jquery}/knockback-transition-fade-in.coffee
  56. 0 ...ack-sample-transitions → knockback-sample-transitions-jquery}/knockback-transition-helpers.coffee
  57. 0 ...e-transitions → knockback-sample-transitions-jquery}/knockback-transition-navigation-slide.coffee
  58. +18 −0 src/knockback-sample-transitions-jquery/module-loader.js
  59. +0 −8 src/license-header.coffee
  60. +1 −1 test/packaging/bundle-config.coffee
  61. +0 −7,727 test/vendor/knockback-core-stack-0.16.3.js
  62. +0 −7,727 test/vendor/knockback-core-stack-0.16.4.js
  63. +4 −4 test/vendor/knockback-core-stack-0.16.5.js
View
@@ -1,9 +1,9 @@
module.exports =
knockback_page_navigator_panes:
join: 'knockback-page-navigator-panes.js'
+ wrapper: 'src/knockback-page-navigator-panes/module-loader.js'
compress: true
files: [
- 'src/license-header.coffee'
'src/component-imports.coffee'
'src/knockback-page-navigator-panes/knockback-page-navigator-panes.coffee'
'src/knockback-page-navigator-panes/knockout-bindings.coffee'
@@ -19,9 +19,9 @@ module.exports =
knockback_page_navigator_simple:
join: 'knockback-page-navigator-simple.js'
+ wrapper: 'src/knockback-page-navigator-simple/module-loader.js'
compress: true
files: [
- 'src/license-header.coffee'
'src/component-imports.coffee'
'src/knockback-page-navigator-simple/knockback-page-navigator-simple.coffee'
'src/knockback-page-navigator-simple/knockout-bindings.coffee'
@@ -31,9 +31,9 @@ module.exports =
knockback_pane_navigator:
join: 'knockback-pane-navigator.js'
+ wrapper: 'src/knockback-pane-navigator/module-loader.js'
compress: true
files: [
- 'src/license-header.coffee'
'src/component-imports.coffee'
'src/knockback-pane-navigator/knockback-pane-navigator.coffee'
'src/knockback-pane-navigator/knockback-pane-navigator-helpers.coffee'
@@ -42,16 +42,17 @@ module.exports =
'src/shared/knockback-transition-saved-state.coffee'
]
- knockback_sample_transitions:
- join: 'knockback-sample-transitions.js'
+ knockback_sample_transitions_jquery:
+ join: 'knockback-sample-transitions-jquery.js'
+ wrapper: 'src/knockback-sample-transitions-jquery/module-loader.js'
output: 'lib'
compress: true
files: [
- 'src/license-header.coffee'
- 'src/knockback-sample-transitions/knockback-transition-helpers.coffee'
- 'src/knockback-sample-transitions/knockback-transition-cover-vertical.coffee'
- 'src/knockback-sample-transitions/knockback-transition-fade-in.coffee'
- 'src/knockback-sample-transitions/knockback-transition-navigation-slide.coffee'
+ 'src/knockback-sample-transitions-jquery/component-imports.coffee'
+ 'src/knockback-sample-transitions-jquery/knockback-transition-helpers.coffee'
+ 'src/knockback-sample-transitions-jquery/knockback-transition-cover-vertical.coffee'
+ 'src/knockback-sample-transitions-jquery/knockback-transition-fade-in.coffee'
+ 'src/knockback-sample-transitions-jquery/knockback-transition-navigation-slide.coffee'
]
publishing:
@@ -70,8 +71,8 @@ module.exports =
'cp knockback-page-navigator-simple.min.js packages/npm/knockback-page-navigator-simple.min.js'
'cp knockback-pane-navigator.js packages/npm/knockback-pane-navigator.js'
'cp knockback-pane-navigator.min.js packages/npm/knockback-pane-navigator.min.js'
- 'cp lib/knockback-sample-transitions.js packages/npm/lib/knockback-sample-transitions.js'
- 'cp lib/knockback-sample-transitions.min.js packages/npm/lib/knockback-sample-transitions.min.js'
+ 'cp lib/knockback-sample-transitions-jquery.js packages/npm/lib/knockback-sample-transitions-jquery.js'
+ 'cp lib/knockback-sample-transitions-jquery.min.js packages/npm/lib/knockback-sample-transitions-jquery.min.js'
# nuget
'cp knockback-navigators.css packages/nuget/Content/Scripts/knockback-navigators.css'
@@ -81,8 +82,8 @@ module.exports =
'cp knockback-page-navigator-simple.min.js packages/nuget/Content/Scripts/knockback-page-navigator-simple.min.js'
'cp knockback-pane-navigator.js packages/nuget/Content/Scripts/knockback-pane-navigator.js'
'cp knockback-pane-navigator.min.js packages/nuget/Content/Scripts/knockback-pane-navigator.min.js'
- 'cp lib/knockback-sample-transitions.js packages/nuget/Content/Scripts/lib/knockback-sample-transitions.js'
- 'cp lib/knockback-sample-transitions.min.js packages/nuget/Content/Scripts/lib/knockback-sample-transitions.min.js'
+ 'cp lib/knockback-sample-transitions-jquery.js packages/nuget/Content/Scripts/lib/knockback-sample-transitions-jquery.js'
+ 'cp lib/knockback-sample-transitions-jquery.min.js packages/nuget/Content/Scripts/lib/knockback-sample-transitions-jquery.min.js'
]
tests:
View
@@ -20,7 +20,7 @@ Please see the [release notes](https://github.com/kmalakoff/knockback-navigators
**Optional/Non production**
-* knockback-sample-transitions.js [(min)](https://raw.github.com/kmalakoff/knockback-navigators/0.1.1/lib/knockback-sample-transitions.js) or [(dev)](https://raw.github.com/kmalakoff/knockback-navigators/0.1.1/lib/knockback-sample-transitions.min.js)
+* knockback-sample-transitions-jquery.js [(min)](https://raw.github.com/kmalakoff/knockback-navigators/0.1.1/lib/knockback-sample-transitions-jquery.js) or [(dev)](https://raw.github.com/kmalakoff/knockback-navigators/0.1.1/lib/knockback-sample-transitions-jquery.min.js)
If you have some production quality transitions that you'd like to submit to the library, please [let me know](http://kmalakoff.github.com/knockback/issues).
View
@@ -3,6 +3,7 @@ Please refer to the following release notes when upgrading your version of Knock
## 0.1.1
* updated kb.loadUrl and added kb.loadUrlFn so they can be called directly from an HTML View
+* renamed knockback-sample-transitions to knockback-sample-transitions-jquery
## 0.1.0
@@ -39,7 +39,7 @@
<script src="vendor/xui-2.3.2.js"></script>
<script src="../knockback-pane-navigator.js"></script>
- <script src="../lib/knockback-sample-transitions.js"></script>
+ <script src="../lib/knockback-sample-transitions-jquery.js"></script>
<script type='text/javascript'>
var pane_navigator_el = $('.pane-navigator')[0];
@@ -40,7 +40,7 @@
<script src="vendor/zepto-1.0rc1.js"></script>
<script src="vendor/knockout-2.1.0.js"></script>
<script src="../knockback-pane-navigator.js"></script>
- <script src="../lib/knockback-sample-transitions.js"></script>
+ <script src="../lib/knockback-sample-transitions-jquery.js"></script>
<script type='text/javascript'>
ko.applyBindings({});
@@ -39,7 +39,7 @@
<script src="vendor/zepto-1.0rc1.js"></script>
<script src="../knockback-pane-navigator.js"></script>
- <script src="../lib/knockback-sample-transitions.js"></script>
+ <script src="../lib/knockback-sample-transitions-jquery.js"></script>
<script type='text/javascript'>
var pane_navigator_el = $('.pane-navigator')[0];
@@ -41,7 +41,7 @@
<script src="vendor/zepto-1.0rc1.js"></script>
<script src="vendor/path-0.8.4.js"></script>
<script src="../knockback-page-navigator-panes.js"></script>
- <script src="../lib/knockback-sample-transitions.js"></script>
+ <script src="../lib/knockback-sample-transitions-jquery.js"></script>
<script type='text/javascript'>
////////////////////////////////////
@@ -32,7 +32,7 @@ <h1 data-bind="text: title"></h1>
<script src="vendor/jquery-1.8.0.js"></script>
<script src="vendor/knockback-core-stack-0.16.5.js"></script>
<script src="../knockback-page-navigator-panes.js"></script>
- <script src="../lib/knockback-sample-transitions.js"></script>
+ <script src="../lib/knockback-sample-transitions-jquery.js"></script>
<script type='text/javascript'>
////////////////////////////////////
@@ -41,7 +41,7 @@
<script src="vendor/zepto-1.0rc1.js"></script>
<script src="vendor/path-0.8.4.js"></script>
<script src="../knockback-page-navigator-panes.js"></script>
- <script src="../lib/knockback-sample-transitions.js"></script>
+ <script src="../lib/knockback-sample-transitions-jquery.js"></script>
<script type='text/javascript'>
////////////////////////////////////
@@ -32,7 +32,7 @@ <h1 data-bind="text: title"></h1>
<script src="vendor/jquery-1.8.0.js"></script>
<script src="vendor/knockback-core-stack-0.16.5.js"></script>
<script src="../knockback-page-navigator-panes.js"></script>
- <script src="../lib/knockback-sample-transitions.js"></script>
+ <script src="../lib/knockback-sample-transitions-jquery.js"></script>
<script type='text/javascript'>
////////////////////////////////////
@@ -42,7 +42,7 @@
<script src="vendor/backbone/underscore-1.3.3.js"></script>
<script src="vendor/backbone/backbone-0.9.2.js"></script>
<script src="../knockback-page-navigator-panes.js"></script>
- <script src="../lib/knockback-sample-transitions.js"></script>
+ <script src="../lib/knockback-sample-transitions-jquery.js"></script>
<script type='text/javascript'>
////////////////////////////////////
@@ -32,7 +32,7 @@ <h1 data-bind="text: title"></h1>
<script src="vendor/zepto-1.0rc1.js"></script>
<script src="vendor/knockback-core-stack-0.16.5.js"></script>
<script src="../knockback-page-navigator-panes.js"></script>
- <script src="../lib/knockback-sample-transitions.js"></script>
+ <script src="../lib/knockback-sample-transitions-jquery.js"></script>
<script type='text/javascript'>
////////////////////////////////////
@@ -41,7 +41,7 @@
<script src="vendor/zepto-1.0rc1.js"></script>
<script src="vendor/path-0.8.4.js"></script>
<script src="../knockback-page-navigator-panes.js"></script>
- <script src="../lib/knockback-sample-transitions.js"></script>
+ <script src="../lib/knockback-sample-transitions-jquery.js"></script>
<script type='text/javascript'>
////////////////////////////////////
@@ -33,7 +33,7 @@ <h1 data-bind="text: title"></h1>
<script src="vendor/path-0.8.4.js"></script>
<script src="vendor/knockout-2.1.0.js"></script>
<script src="../knockback-page-navigator-panes.js"></script>
- <script src="../lib/knockback-sample-transitions.js"></script>
+ <script src="../lib/knockback-sample-transitions-jquery.js"></script>
<script type='text/javascript'>
////////////////////////////////////
Oops, something went wrong. Retry.

0 comments on commit b375e5f

Please sign in to comment.