Permalink
Browse files

Initial commit

  • Loading branch information...
0 parents commit 993923f1f1f8de925fba2a8cccc7c0f52df459b2 Kevin Malakoff committed Sep 3, 2012
Showing with 57,770 additions and 0 deletions.
  1. +3 −0 .gitignore
  2. +12 −0 .travis.yml
  3. +114 −0 Bakefile.coffee
  4. +22 −0 LICENSE
  5. +303 −0 README.md
  6. +151 −0 doc/LICENSE.html
  7. +375 −0 doc/README.md.html
  8. +1 −0 doc/assets/codo.css
  9. +23 −0 doc/assets/codo.js
  10. +1 −0 doc/assets/search_data.js
  11. +170 −0 doc/class_index.html
  12. +66 −0 doc/class_list.html
  13. +367 −0 doc/classes/kb/PageNavigatorPanes.html
  14. +308 −0 doc/classes/kb/PageNavigatorSimple.html
  15. +207 −0 doc/classes/kb/Pane.html
  16. +278 −0 doc/classes/kb/PaneNavigator.html
  17. +264 −0 doc/classes/kb/TransitionSavedState.html
  18. +33 −0 doc/file_list.html
  19. +14 −0 doc/index.html
  20. +243 −0 doc/method_list.html
  21. +28 −0 doc/mixin_list.html
  22. +58 −0 examples/pn-nt+_xui.html
  23. +57 −0 examples/pn-nt_zpt.html
  24. +56 −0 examples/pn-t-e_zpt_ko.html
  25. +58 −0 examples/pn-t_zpt.html
  26. +73 −0 examples/pnp-dt_zpt_pth.html
  27. +71 −0 examples/pnp-nt_xui_pth.html
  28. +71 −0 examples/pnp-nt_zpt_pth.html
  29. +103 −0 examples/pnp-t-e_jq_kb.html
  30. +73 −0 examples/pnp-t-nh_zpt_pth.html
  31. +99 −0 examples/pnp-t_jq_kb.html
  32. +74 −0 examples/pnp-t_zpt_bb.html
  33. +94 −0 examples/pnp-t_zpt_kb.html
  34. +73 −0 examples/pnp-t_zpt_pth.html
  35. +82 −0 examples/pnp-t_zpt_pth_ko.html
  36. +93 −0 examples/pns-e_jq_kb.html
  37. +89 −0 examples/pns_jq_kb.html
  38. +73 −0 examples/pns_zpt_bb.html
  39. +93 −0 examples/pns_zpt_kb.html
  40. +72 −0 examples/pns_zpt_pth.html
  41. +81 −0 examples/pns_zpt_pth_ko.html
  42. +1,431 −0 examples/vendor/backbone/backbone-0.9.2.js
  43. +1,059 −0 examples/vendor/backbone/underscore-1.3.3.js
  44. +1,040 −0 examples/vendor/bootstrap/css/bootstrap-responsive.css
  45. +9 −0 examples/vendor/bootstrap/css/bootstrap-responsive.min.css
  46. +5,624 −0 examples/vendor/bootstrap/css/bootstrap.css
  47. +9 −0 examples/vendor/bootstrap/css/bootstrap.min.css
  48. BIN examples/vendor/bootstrap/img/glyphicons-halflings-white.png
  49. BIN examples/vendor/bootstrap/img/glyphicons-halflings.png
  50. +2,027 −0 examples/vendor/bootstrap/js/bootstrap.js
  51. +6 −0 examples/vendor/bootstrap/js/bootstrap.min.js
  52. +9,227 −0 examples/vendor/jquery-1.8.0.js
  53. +7,649 −0 examples/vendor/knockback-core-stack-0.16.0beta3.js
  54. +3,443 −0 examples/vendor/knockout-2.1.0.js
  55. +65 −0 examples/vendor/normalize.css
  56. +192 −0 examples/vendor/path-0.8.4.js
  57. +1,489 −0 examples/vendor/xui-2.3.2.js
  58. +1,355 −0 examples/vendor/zepto-1.0rc1.js
  59. +149 −0 index.html
  60. +25 −0 knockback-navigators.css
  61. +796 −0 knockback-page-navigator-panes.js
  62. +2 −0 knockback-page-navigator-panes.min.js
  63. +343 −0 knockback-page-navigator-simple.js
  64. +2 −0 knockback-page-navigator-simple.min.js
  65. +640 −0 knockback-pane-navigator.js
  66. +2 −0 knockback-pane-navigator.min.js
  67. +189 −0 lib/knockback-sample-transitions.js
  68. +2 −0 lib/knockback-sample-transitions.min.js
  69. +34 −0 package.json
  70. +313 −0 packages/npm/README.md
  71. +25 −0 packages/npm/knockback-navigators.css
  72. +796 −0 packages/npm/knockback-page-navigator-panes.js
  73. +2 −0 packages/npm/knockback-page-navigator-panes.min.js
  74. +343 −0 packages/npm/knockback-page-navigator-simple.js
  75. +2 −0 packages/npm/knockback-page-navigator-simple.min.js
  76. +9 −0 packages/npm/knockback-page-navigators.css
  77. +640 −0 packages/npm/knockback-pane-navigator.js
  78. +2 −0 packages/npm/knockback-pane-navigator.min.js
  79. +189 −0 packages/npm/lib/knockback-sample-transitions.js
  80. +2 −0 packages/npm/lib/knockback-sample-transitions.min.js
  81. +19 −0 packages/npm/package.json
  82. +25 −0 packages/nuget/Content/Scripts/knockback-navigators.css
  83. +796 −0 packages/nuget/Content/Scripts/knockback-page-navigator-panes.js
  84. +2 −0 packages/nuget/Content/Scripts/knockback-page-navigator-panes.min.js
  85. +343 −0 packages/nuget/Content/Scripts/knockback-page-navigator-simple.js
  86. +2 −0 packages/nuget/Content/Scripts/knockback-page-navigator-simple.min.js
  87. +9 −0 packages/nuget/Content/Scripts/knockback-page-navigators.css
  88. +640 −0 packages/nuget/Content/Scripts/knockback-pane-navigator.js
  89. +2 −0 packages/nuget/Content/Scripts/knockback-pane-navigator.min.js
  90. +189 −0 packages/nuget/Content/Scripts/lib/knockback-sample-transitions.js
  91. +2 −0 packages/nuget/Content/Scripts/lib/knockback-sample-transitions.min.js
  92. +37 −0 packages/nuget/package.nuspec
  93. +48 −0 src/component-imports.coffee
  94. +86 −0 src/knockback-page-navigator-panes/knockback-page-navigator-panes.coffee
  95. +16 −0 src/knockback-page-navigator-panes/knockout-bindings.coffee
  96. +75 −0 src/knockback-page-navigator-simple/knockback-page-navigator-simple.coffee
  97. +16 −0 src/knockback-page-navigator-simple/knockout-bindings.coffee
  98. +73 −0 src/knockback-pane-navigator/knockback-pane-navigator-helpers.coffee
  99. +174 −0 src/knockback-pane-navigator/knockback-pane-navigator.coffee
  100. +26 −0 src/knockback-pane-navigator/knockout-bindings.coffee
  101. +26 −0 src/knockback-sample-transitions/knockback-transition-cover-vertical.coffee
  102. +23 −0 src/knockback-sample-transitions/knockback-transition-fade-in.coffee
  103. +27 −0 src/knockback-sample-transitions/knockback-transition-helpers.coffee
  104. +28 −0 src/knockback-sample-transitions/knockback-transition-navigation-slide.coffee
  105. +15 −0 src/shared/knockback-page-navigator.coffee
  106. +76 −0 src/shared/knockback-pane.coffee
  107. +43 −0 src/shared/knockback-transition-saved-state.coffee
  108. +26 −0 test/all_tests.html
  109. +28 −0 test/knockback-page-navigator-panes/test-latest.html
  110. +29 −0 test/knockback-page-navigator-panes/test.coffee
  111. +28 −0 test/knockback-page-navigator-simple/test-latest.html
  112. +29 −0 test/knockback-page-navigator-simple/test.coffee
  113. +28 −0 test/knockback-pane-navigator/test-latest.html
  114. +29 −0 test/knockback-pane-navigator/test.coffee
  115. +10 −0 test/packaging/bundle-config.coffee
  116. +28 −0 test/packaging/test-latest.html
  117. +19 −0 test/vendor/qunit/jquery.js
  118. +670 −0 test/vendor/qunit/jslitmus.js
  119. +196 −0 test/vendor/qunit/qunit.css
  120. +2,360 −0 test/vendor/qunit/qunit.js
  121. +7,649 −0 vendor/knockback-core-stack-0.16.0beta3.js
  122. +165 −0 vendor/knockback-core-stack-0.16.0beta3.min.js
@@ -0,0 +1,3 @@
+.DS_Store
+node_modules/
+build/
@@ -0,0 +1,12 @@
+language: node_js
+node_js:
+ - 0.8
+
+notifications:
+ email:
+ on_failure: always # [always|never|change] default: always
+
+before_script:
+ - "export PATH=node_modules/.bin:node_modules/easy-bake/node_modules/.bin:$PATH"
+ - "export DISPLAY=:99.0"
+ - "sh -e /etc/init.d/xvfb start"
@@ -0,0 +1,114 @@
+module.exports =
+ knockback_page_navigator_panes:
+ join: 'knockback-page-navigator-panes.js'
+ compress: true
+ files: [
+ 'src/component-imports.coffee'
+ 'src/knockback-page-navigator-panes/knockback-page-navigator-panes.coffee'
+ 'src/knockback-page-navigator-panes/knockout-bindings.coffee'
+
+ # bundle with pane navigator
+ 'src/knockback-pane-navigator/knockback-pane-navigator.coffee'
+ 'src/knockback-pane-navigator/knockback-pane-navigator-helpers.coffee'
+ 'src/knockback-pane-navigator/knockout-bindings.coffee'
+ 'src/shared/knockback-page-navigator.coffee'
+ 'src/shared/knockback-pane.coffee'
+ 'src/shared/knockback-transition-saved-state.coffee'
+ ]
+
+ knockback_page_navigator_simple:
+ join: 'knockback-page-navigator-simple.js'
+ compress: true
+ files: [
+ 'src/component-imports.coffee'
+ 'src/knockback-page-navigator-simple/knockback-page-navigator-simple.coffee'
+ 'src/knockback-page-navigator-simple/knockout-bindings.coffee'
+ 'src/shared/knockback-page-navigator.coffee'
+ 'src/shared/knockback-pane.coffee'
+ ]
+
+ knockback_pane_navigator:
+ join: 'knockback-pane-navigator.js'
+ compress: true
+ files: [
+ 'src/component-imports.coffee'
+ 'src/knockback-pane-navigator/knockback-pane-navigator.coffee'
+ 'src/knockback-pane-navigator/knockback-pane-navigator-helpers.coffee'
+ 'src/knockback-pane-navigator/knockout-bindings.coffee'
+ 'src/shared/knockback-pane.coffee'
+ 'src/shared/knockback-transition-saved-state.coffee'
+ ]
+
+ knockback_sample_transitions:
+ join: 'knockback-sample-transitions.js'
+ output: 'lib'
+ compress: true
+ files: [
+ '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'
+ ]
+
+ publishing:
+ _build:
+ commands: [
+ # npm
+ 'cp README.md packages/npm/README.md'
+
+ 'cp knockback-navigators.css packages/npm/knockback-navigators.css'
+ 'cp knockback-page-navigator-panes.js packages/npm/knockback-page-navigator-panes.js'
+ 'cp knockback-page-navigator-panes.min.js packages/npm/knockback-page-navigator-panes.min.js'
+ 'cp knockback-page-navigator-simple.js packages/npm/knockback-page-navigator-simple.js'
+ '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'
+
+ # nuget
+ 'cp knockback-navigators.css packages/nuget/Content/Scripts/knockback-navigators.css'
+ 'cp knockback-page-navigator-panes.js packages/nuget/Content/Scripts/knockback-page-navigator-panes.js'
+ 'cp knockback-page-navigator-panes.min.js packages/nuget/Content/Scripts/knockback-page-navigator-panes.min.js'
+ 'cp knockback-page-navigator-simple.js packages/nuget/Content/Scripts/knockback-page-navigator-simple.js'
+ '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'
+ ]
+
+ tests:
+ _build:
+ output: 'build'
+ directories: [
+ 'test/knockback-page-navigator-panes'
+ 'test/knockback-page-navigator-simple'
+ 'test/knockback-pane-navigator'
+ ]
+ commands: [
+ 'mbundle test/packaging/bundle-config.coffee'
+ ]
+ _test:
+ command: 'phantomjs'
+ runner: 'phantomjs-qunit-runner.js'
+ files: '**/*.html'
+ directories: [
+ 'test/knockback-page-navigator-panes'
+ 'test/knockback-page-navigator-simple'
+ 'test/knockback-pane-navigator'
+ 'test/packaging'
+ ]
+
+ _postinstall:
+ commands: [
+ # knockback dependencies
+ 'cp -v knockback/knockback-core-stack.js vendor/knockback-core-stack.js'
+ 'cp -v knockback/knockback-core-stack.min.js vendor/knockback-core-stack.min.js'
+
+ # examples
+ 'cp -v knockback/knockback-core-stack.js examples/vendor/knockback-core-stack.js'
+ 'cp -v knockout-client/knockout.debug.js examples/vendor/knockout.js'
+ 'cp -v backbone examples/vendor/backbone/backbone.js'
+ 'cp -v underscore examples/vendor/backbone/underscore.js'
+ ]
22 LICENSE
@@ -0,0 +1,22 @@
+Copyright (c) 2011, 2012 Kevin Malakoff
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
Oops, something went wrong.

0 comments on commit 993923f

Please sign in to comment.