Permalink
Browse files

3.0 alpha checkin

  • Loading branch information...
0 parents commit 81b32baae1b985337bb7cba39c6ad84713a93eb5 Ian Maffett committed Sep 26, 2014
Showing with 29,875 additions and 0 deletions.
  1. +9 −0 .gitignore
  2. +180 −0 Gruntfile.js
  3. +2 −0 ajax.html
  4. +219 −0 animgenerator/anims.json
  5. +73 −0 animgenerator/generate.js
  6. +2,536 −0 build/af.ui.base.css
  7. +2,239 −0 build/af.ui.base.less
  8. +4,476 −0 build/af.ui.css
  9. +4,172 −0 build/af.ui.less
  10. +2,771 −0 build/appframework.ui.js
  11. +102 −0 build/appframework.ui.min.js
  12. +206 −0 build/icons.css
  13. +1 −0 build/icons.min.css
  14. +1,092 −0 docs/af.ui.json
  15. +42 −0 docs/af.ui/$.afui.actionsheet.md
  16. +28 −0 docs/af.ui/$.afui.autoLaunch.md
  17. +29 −0 docs/af.ui/$.afui.blockUI.md
  18. +28 −0 docs/af.ui/$.afui.clearHistory.md
  19. +28 −0 docs/af.ui/$.afui.disableTabBar.md
  20. +31 −0 docs/af.ui/$.afui.drawer.show.md
  21. +28 −0 docs/af.ui/$.afui.getTitle.md
  22. +29 −0 docs/af.ui/$.afui.goBack.md
  23. +28 −0 docs/af.ui/$.afui.hideMask.md
  24. +30 −0 docs/af.ui/$.afui.launch.md
  25. +34 −0 docs/af.ui/$.afui.loadContent.md
  26. +29 −0 docs/af.ui/$.afui.loadDefaultHash.md
  27. +28 −0 docs/af.ui/$.afui.manageHistory.md
  28. +39 −0 docs/af.ui/$.afui.popup.md
  29. +29 −0 docs/af.ui/$.afui.ready.md
  30. +33 −0 docs/af.ui/$.afui.registerDataDirective.md
  31. +29 −0 docs/af.ui/$.afui.removeBadge.md
  32. +29 −0 docs/af.ui/$.afui.setBackButtonText.md
  33. +29 −0 docs/af.ui/$.afui.setBackButtonVisbility.md
  34. +29 −0 docs/af.ui/$.afui.setTitle.md
  35. +30 −0 docs/af.ui/$.afui.showMask.md
  36. +28 −0 docs/af.ui/$.afui.unblockUI.md
  37. +36 −0 docs/af.ui/$.afui.updateBadge.md
  38. +29 −0 docs/af.ui/$.afui.useAjaxCacheBuster.md
  39. +2 −0 docs/build
  40. +107 −0 docs/docgen.js
  41. +132 −0 docs/plugins/af.actionsheet.md
  42. +4 −0 docs/plugins/af.animateheader.md
  43. +65 −0 docs/plugins/af.animation.md
  44. +79 −0 docs/plugins/af.drawer.md
  45. +193 −0 docs/plugins/af.popup.md
  46. +16 −0 docs/plugins/af.splashscreen.md
  47. +21 −0 docs/plugins/af.swipereveal.md
  48. +90 −0 docs/plugins/af.toast.md
  49. +32 −0 docs/plugins/af.touchevents.md
  50. +52 −0 docs/plugins/af.transform.md
  51. +628 −0 index.html
  52. +100 −0 karma.conf.js
  53. +59 −0 package.json
  54. +33 −0 partials/actionsheet.html
  55. +83 −0 partials/forms.html
  56. +20 −0 partials/leftnav.html
  57. +40 −0 partials/popup.html
  58. +13 −0 partials/toast.html
  59. +46 −0 partials/touch.html
  60. +136 −0 src/af.actionsheet.js
  61. +49 −0 src/af.animateheader.js
  62. +154 −0 src/af.animation.js
  63. +166 −0 src/af.desktopBrowsers.js
  64. +164 −0 src/af.drawer.js
  65. +60 −0 src/af.grower.js
  66. +214 −0 src/af.popup.js
  67. +294 −0 src/af.shim.js
  68. +15 −0 src/af.splashscreen.js
  69. +72 −0 src/af.swipereveal.js
  70. +123 −0 src/af.toast.js
  71. +155 −0 src/af.touchEvents.js
  72. +1,194 −0 src/af.ui.js
  73. +56 −0 src/less/af.actionsheet.less
  74. +67 −0 src/less/af.popup.less
  75. +92 −0 src/less/af.splashscreen.less
  76. +36 −0 src/less/af.swipereveal.less
  77. +81 −0 src/less/af.toast.less
  78. +298 −0 src/less/android.less
  79. +51 −0 src/less/anim2.less
  80. +702 −0 src/less/animation.less
  81. +243 −0 src/less/appframework.less
  82. +37 −0 src/less/badges.less
  83. +188 −0 src/less/bb.less
  84. +196 −0 src/less/buttons.less
  85. +293 −0 src/less/firefox.less
  86. +226 −0 src/less/forms.less
  87. +30 −0 src/less/grid.less
  88. +211 −0 src/less/icons.less
  89. +395 −0 src/less/ios.less
  90. +82 −0 src/less/lists.less
  91. +343 −0 src/less/main.less
  92. +45 −0 src/less/splitview.less
  93. +196 −0 src/less/tizen.less
  94. +351 −0 src/less/win8.less
  95. +83 −0 templates/drawer.html
  96. +187 −0 templates/form.html
  97. +207 −0 templates/gridview.html
  98. +120 −0 templates/listview.html
  99. +182 −0 templates/loginview.html
  100. +213 −0 templates/swipedelete.html
  101. +73 −0 templates/tabview.html
  102. +61 −0 test/actionSheet.test.js
  103. +178 −0 test/afui.test.js
  104. +55 −0 test/animation.test.js
  105. +12 −0 test/chai.helper.js
  106. +33 −0 test/cssTranslate.test.js
  107. +63 −0 test/desktopbrowsers.test.js
  108. +117 −0 test/drawer.test.js
  109. +11 −0 test/fixtures/afui-view.html
  110. +38 −0 test/fixtures/afui.html
  111. +55 −0 test/fixtures/drawer.html
  112. +12 −0 test/fixtures/popup.html
  113. +20 −0 test/fixtures/toast.html
  114. +57 −0 test/getCssMatrix.test.js
  115. 0 test/grower.test.js
  116. +135 −0 test/popup.test.js
  117. +60 −0 test/replaceClass.test.js
  118. +78 −0 test/shim.test.js
  119. 0 test/swipereveal.test.js
  120. +105 −0 test/toasts.test.js
  121. +44 −0 test/transition.test.js
  122. +36 −0 test/vendorCss.test.js
@@ -0,0 +1,9 @@
+*.bat
+*.DS_Store
+/dev
+*.svn
+/node_modules
+/.idea
+/3rdparty
+/coverage
+/src/css
@@ -0,0 +1,180 @@
+var path = require("path");
+
+module.exports = function (grunt) {
+ grunt.loadNpmTasks("grunt-contrib-clean");
+ grunt.loadNpmTasks("grunt-contrib-jshint");
+ grunt.loadNpmTasks("grunt-contrib-cssmin");
+ grunt.loadNpmTasks("grunt-contrib-concat");
+ grunt.loadNpmTasks("grunt-mochaccino");
+ grunt.loadNpmTasks("grunt-closure-compiler");
+ grunt.loadNpmTasks("grunt-banner");
+ grunt.loadNpmTasks('grunt-karma');
+ grunt.loadNpmTasks('grunt-contrib-less');
+ grunt.loadNpmTasks('grunt-contrib-watch');
+
+
+ grunt.initConfig({
+ pkg: grunt.file.readJSON('package.json'),
+ clean: [ "build/cov" ],
+
+ // see .jshintrc file for the options;
+ // options are explained at http://www.jshint.com/docs/config/
+ jshint: {
+ options: {
+ jshintrc: ".jshintrc"
+ },
+
+ core: [ "src/*.js" ],
+
+ },
+ karma: {
+ unit: {
+ configFile: 'karma.conf.js'
+ }
+ },
+ mochaccino: {
+ unit: [ "test/**/*.test.js" ],
+
+ // unit tests with coverage report in build/
+ cov: {
+ files: [
+ { src: "test/**/*.test.js" }
+ ],
+ reporter: "html-cov",
+ reportDir: "build/cov"
+ }
+ },
+
+ concat: {
+ afui:{
+ files: {
+ "build/appframework.ui.js": [
+ "src/af.shim.js",
+ "src/af.ui.js",
+ "src/af.actionsheet.js",
+ "src/af.grower.js",
+ "src/af.touchEvents.js",
+ "src/af.animateheader.js",
+ "src/af.popup.js",
+ "src/af.animation.js",
+ "src/af.splashscreen.js",
+ "src/af.drawer.js",
+ "src/af.swipereveal.js",
+ "src/af.desktopBrowsers.js",
+ "src/af.toast.js"
+ ]
+ }
+ },
+ less: {
+ files: {
+ "build/af.ui.less":[
+ "src/less/main.less",
+ "src/less/anim2.less",
+ "src/less/animation.less",
+ "src/less/*.less"
+ ]
+ }
+ },
+ lessBase: {
+ files: {
+ "./build/af.ui.base.less": [
+ "src/less/main.less",
+ "src/less/anim2.less",
+ "src/less/animation.less",
+ "src/less/appframework.less",
+ "src/less/af.actionsheet.less",
+ "src/less/af.popup.less",
+ "src/less/af.splashscreen.less",
+ "src/less/af.swipereveal.less",
+ "src/less/af.toast.less",
+ "src/less/badges.less",
+ "src/less/buttons.less",
+ "src/less/forms.less",
+ "src/less/grid.less",
+ "src/less/lists.less",
+ "src/less/splitview.less"
+ ]
+ }
+ }
+ },
+ "closure-compiler": {
+ "appframework-ui": {
+ closurePath: "../closure/",
+ js: ["build/appframework.ui.js"],
+ jsOutputFile: "build/appframework.ui.min.js",
+ options: {
+ },
+ maxBuffer: 500,
+ noreport:true
+ },
+ },
+ usebanner: {
+ taskName: {
+ options: {
+ position: "top",
+ banner: "/*! <%= pkg.name %> - v<%= pkg.version %> - "+
+ "<%= grunt.template.today('yyyy-mm-dd') %> */\n",
+ linebreak: true
+ },
+ files: {
+ src: [ "build/*.js","build/*.js","build/css/*.css" ]
+ }
+ }
+ },
+ less: {
+ development: {
+ options: {
+ paths: ["./src/less"],
+ yuicompress: false
+ },
+ files: {
+ "./build/af.ui.css": "./src/less/*.less"
+ }
+ },
+ base: {
+ options: {
+ paths: ["./src/less"],
+ yuicompress: false
+ },
+ files: {
+ "./build/af.ui.base.css": [
+ "src/less/main.less",
+ "src/less/anim2.less",
+ "src/less/animation.less",
+ "src/less/appframework.less",
+ "src/less/af.actionsheet.less",
+ "src/less/af.popup.less",
+ "src/less/af.splashscreen.less",
+ "src/less/af.swipereveal.less",
+ "src/less/af.toast.less",
+ "src/less/badges.less",
+ "src/less/buttons.less",
+ "src/less/forms.less",
+ "src/less/grid.less",
+ "src/less/lists.less",
+ "src/less/splitview.less"
+ ]
+ }
+ }
+ },
+ watch: {
+ files: "./src/less/*.less",
+ tasks: ["less"]
+ }
+ });
+
+
+ grunt.registerTask("default", [
+ "jshint",
+ "test",
+ "clean",
+ "closure-compiler",
+ "usebanner",
+ "watch"
+ ]);
+
+ grunt.registerTask("rebuild" , ["concat","closure-compiler","usebanner"]);
+ grunt.registerTask("hint" , ["jshint"]);
+ grunt.registerTask("test" , ["karma"]);
+
+};
@@ -0,0 +1,2 @@
+ This is an ajax panel. It will be added to the view<br><br>
+ <a href="#main" class="button">Main</a>
Oops, something went wrong.

0 comments on commit 81b32ba

Please sign in to comment.