Permalink
Browse files

App Framework 3.0 release

  • Loading branch information...
Ian Maffett
Ian Maffett committed Feb 9, 2015
2 parents bd31d67 + dbda222 commit ebf0b3260730d9084751dfce38c40a3fabe7cf42
Showing with 29,919 additions and 2,280 deletions.
  1. +4 −18 .gitignore
  2. +98 −191 Gruntfile.js
  3. +75 −74 README.md
  4. +2 −3 ajax.html
  5. +219 −0 animgenerator/anims.json
  6. +73 −0 animgenerator/generate.js
  7. +2,536 −0 build/af.ui.base.css
  8. +2,300 −0 build/af.ui.base.less
  9. +4,476 −0 build/af.ui.css
  10. +4,238 −0 build/af.ui.less
  11. +2,804 −0 build/appframework.ui.js
  12. +102 −0 build/appframework.ui.min.js
  13. +206 −0 build/icons.css
  14. +1 −0 build/icons.min.css
  15. +1,092 −0 docs/af.ui.json
  16. +42 −0 docs/af.ui/$.afui.actionsheet.md
  17. +28 −0 docs/af.ui/$.afui.autoLaunch.md
  18. +29 −0 docs/af.ui/$.afui.blockUI.md
  19. +28 −0 docs/af.ui/$.afui.clearHistory.md
  20. +28 −0 docs/af.ui/$.afui.disableTabBar.md
  21. +31 −0 docs/af.ui/$.afui.drawer.show.md
  22. +28 −0 docs/af.ui/$.afui.getTitle.md
  23. +29 −0 docs/af.ui/$.afui.goBack.md
  24. +28 −0 docs/af.ui/$.afui.hideMask.md
  25. +30 −0 docs/af.ui/$.afui.launch.md
  26. +34 −0 docs/af.ui/$.afui.loadContent.md
  27. +29 −0 docs/af.ui/$.afui.loadDefaultHash.md
  28. +28 −0 docs/af.ui/$.afui.manageHistory.md
  29. +39 −0 docs/af.ui/$.afui.popup.md
  30. +29 −0 docs/af.ui/$.afui.ready.md
  31. +33 −0 docs/af.ui/$.afui.registerDataDirective.md
  32. +29 −0 docs/af.ui/$.afui.removeBadge.md
  33. +29 −0 docs/af.ui/$.afui.setBackButtonText.md
  34. +29 −0 docs/af.ui/$.afui.setBackButtonVisbility.md
  35. +29 −0 docs/af.ui/$.afui.setTitle.md
  36. +30 −0 docs/af.ui/$.afui.showMask.md
  37. +28 −0 docs/af.ui/$.afui.unblockUI.md
  38. +36 −0 docs/af.ui/$.afui.updateBadge.md
  39. +29 −0 docs/af.ui/$.afui.useAjaxCacheBuster.md
  40. +2 −0 docs/build
  41. +107 −0 docs/docgen.js
  42. +132 −0 docs/plugins/af.actionsheet.md
  43. +4 −0 docs/plugins/af.animateheader.md
  44. +65 −0 docs/plugins/af.animation.md
  45. +79 −0 docs/plugins/af.drawer.md
  46. +193 −0 docs/plugins/af.popup.md
  47. +16 −0 docs/plugins/af.splashscreen.md
  48. +21 −0 docs/plugins/af.swipereveal.md
  49. +90 −0 docs/plugins/af.toast.md
  50. +32 −0 docs/plugins/af.touchevents.md
  51. +52 −0 docs/plugins/af.transform.md
  52. +173 −1,878 index.html
  53. +100 −0 karma.conf.js
  54. +23 −22 package.json
  55. +33 −0 partials/actionsheet.html
  56. +83 −0 partials/forms.html
  57. +20 −0 partials/leftnav.html
  58. +40 −0 partials/popup.html
  59. +13 −0 partials/toast.html
  60. +46 −0 partials/touch.html
  61. +55 −0 samples/angular/index.html
  62. +10 −0 samples/angular/js/app.js
  63. +23 −0 samples/angular/js/controllers.js
  64. +13 −0 samples/angular/js/directives.js
  65. +10 −0 samples/angular/partials/todo.html
  66. +3 −0 samples/angular/readme.md
  67. +64 −0 samples/backbone/index.html
  68. +35 −0 samples/backbone/js/app.js
  69. +3 −0 samples/backbone/readme.md
  70. +63 −0 samples/react/index.html
  71. +74 −0 samples/react/js/app.jsx
  72. 0 samples/react/js/form.jsx
  73. +3 −0 samples/react/readme.md
  74. +136 −0 src/af.actionsheet.js
  75. +49 −0 src/af.animateheader.js
  76. +154 −0 src/af.animation.js
  77. +166 −0 src/af.desktopBrowsers.js
  78. +164 −0 src/af.drawer.js
  79. +60 −0 src/af.grower.js
  80. +214 −0 src/af.popup.js
  81. +309 −0 src/af.shim.js
  82. +15 −0 src/af.splashscreen.js
  83. +72 −0 src/af.swipereveal.js
  84. +123 −0 src/af.toast.js
  85. +154 −0 src/af.touchEvents.js
  86. +1,195 −0 src/af.ui.js
  87. +56 −0 src/less/af.actionsheet.less
  88. +67 −0 src/less/af.popup.less
  89. +92 −0 src/less/af.splashscreen.less
  90. +36 −0 src/less/af.swipereveal.less
  91. +81 −0 src/less/af.toast.less
  92. +298 −0 src/less/android.less
  93. +51 −0 src/less/anim2.less
  94. +702 −0 src/less/animation.less
  95. +243 −0 src/less/appframework.less
  96. +37 −0 src/less/badges.less
  97. +188 −0 src/less/bb.less
  98. +196 −0 src/less/buttons.less
  99. +293 −0 src/less/firefox.less
  100. +226 −0 src/less/forms.less
  101. +30 −0 src/less/grid.less
  102. +211 −0 src/less/icons.less
  103. +395 −0 src/less/ios.less
  104. +82 −0 src/less/lists.less
  105. +343 −0 src/less/main.less
  106. +45 −0 src/less/splitview.less
  107. +196 −0 src/less/tizen.less
  108. +351 −0 src/less/win8.less
  109. +83 −0 templates/drawer.html
  110. +187 −0 templates/form.html
  111. +207 −0 templates/gridview.html
  112. +120 −0 templates/listview.html
  113. +182 −0 templates/loginview.html
  114. +213 −0 templates/swipedelete.html
  115. +73 −0 templates/tabview.html
  116. +61 −0 test/actionSheet.test.js
  117. +178 −0 test/afui.test.js
  118. +55 −0 test/animation.test.js
  119. +8 −4 test/chai.helper.js
  120. +33 −0 test/cssTranslate.test.js
  121. +63 −0 test/desktopbrowsers.test.js
  122. +118 −0 test/drawer.test.js
  123. +11 −0 test/fixtures/afui-view.html
  124. +38 −0 test/fixtures/afui.html
  125. +55 −0 test/fixtures/drawer.html
  126. +12 −0 test/fixtures/popup.html
  127. +20 −0 test/fixtures/toast.html
  128. +25 −63 test/getCssMatrix.test.js
  129. 0 test/grower.test.js
  130. +137 −0 test/popup.test.js
  131. +47 −27 test/removeClass.test.js
  132. +62 −0 test/replaceClass.test.js
  133. +78 −0 test/shim.test.js
  134. 0 test/swipereveal.test.js
  135. +105 −0 test/toasts.test.js
  136. +44 −0 test/transition.test.js
  137. +36 −0 test/vendorCss.test.js
View
@@ -1,24 +1,10 @@
*.bat
*.DS_Store
/dev
/kitchensink/base
/closuredist
/cdn
/ui/build.php
/kitchensink/build.php
/performance
/devs
/patches
/uitest
/extplugins
require.js
require.html
nomenu.html
untitled
v1.html
css/af.ui.less.css
css/build.php
ui/transitions/build.php
*.svn
/node_modules
/.idea
/3rdparty
/coverage
/src/css
>>>>>>> 3.0beta
View
@@ -8,6 +8,10 @@ module.exports = function (grunt) {
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'),
@@ -20,213 +24,77 @@ module.exports = function (grunt) {
jshintrc: ".jshintrc"
},
core: [ "appframework.js" ],
jq: [ "jq.appframework.js" ],
plugins: [ "plugins/**/*.js" ],
ui: ["ui/appframework.ui.js", "ui/transitions/**/*.js" ]
},
mochaccino: {
unit: [ "test/**/*.test.js" ],
core: [ "src/*.js" ],
// unit tests with coverage report in build/
cov: {
files: [
{ src: "test/**/*.test.js" }
],
reporter: "html-cov",
reportDir: "build/cov"
}
},
cssmin: {
all: {
files: {
"build/css/af.ui.min.css": [
"css/main.css",
"css/appframework.css",
"css/lists.css",
"css/forms.css",
"css/buttons.css",
"css/badges.css",
"css/grid.css",
"css/android.css",
"css/win8.css",
"css/bb.css",
"css/ios7.css",
"css/ios.css",
"css/tizen.css",
"plugins/css/af.actionsheet.css",
"plugins/css/af.popup.css",
"plugins/css/af.scroller.css",
"plugins/css/af.selectbox.css"
]
}
},
base: {
files: {
"build/css/af.ui.base.min.css": [
"css/main.css",
"css/appframework.css",
"css/lists.css",
"css/forms.css",
"css/buttons.css",
"css/badges.css",
"css/grid.css",
"plugins/css/af.actionsheet.css",
"plugins/css/af.popup.css",
"plugins/css/af.scroller.css",
"plugins/css/af.selectbox.css"
]
}
},
icons: {
files: {
"build/css/icons.min.css": [
"css/icons.css"
]
}
}
karma: {
unit: {
configFile: 'karma.conf.js'
}
},
concat: {
cssall: {
files: {
"build/css/af.ui.css": [
"css/main.css",
"css/appframework.css",
"css/lists.css",
"css/forms.css",
"css/buttons.css",
"css/badges.css",
"css/grid.css",
"css/android.css",
"css/win8.css",
"css/bb.css",
"css/ios7.css",
"css/ios.css",
"plugins/css/af.actionsheet.css",
"plugins/css/af.popup.css",
"plugins/css/af.scroller.css",
"plugins/css/af.selectbox.css"
]
}
},
cssbase: {
files: {
"build/css/af.ui.base.css": [
"css/main.css",
"css/appframework.css",
"css/lists.css",
"css/forms.css",
"css/buttons.css",
"css/badges.css",
"css/grid.css",
"plugins/css/af.actionsheet.css",
"plugins/css/af.popup.css",
"plugins/css/af.scroller.css",
"plugins/css/af.selectbox.css"
]
}
},
afui:{
files: {
"build/ui/appframework.ui.js": [
"plugins/af.actionsheet.js",
"plugins/af.css3animate.js",
"plugins/af.passwordBox.js",
"plugins/af.scroller.js",
"plugins/af.selectBox.js",
"plugins/af.touchEvents.js",
"plugins/af.touchLayer.js",
"plugins/af.popup.js",
"ui/appframework.ui.js",
"ui/transitions/**/*.js",
"plugins/af.8tiles.js"
"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"
]
}
},
afui_jquery:{
less: {
files: {
"build/ui/af.ui.jquery.js": [
"jq.appframework.js",
"plugins/af.actionsheet.js",
"plugins/af.css3animate.js",
"plugins/af.passwordBox.js",
"plugins/af.scroller.js",
"plugins/af.selectBox.js",
"plugins/af.touchEvents.js",
"plugins/af.touchLayer.js",
"plugins/af.popup.js",
"ui/appframework.ui.js",
"ui/transitions/**/*.js",
"plugins/af.8tiles.js"
"build/af.ui.less":[
"src/less/main.less",
"src/less/anim2.less",
"src/less/animation.less",
"src/less/*.less"
]
}
},
af:{
files:{
"build/appframework.js": [
"appframework.js",
"ayepromise.js"
]
}
},
icons:{
files:{
"build/css/icons.css": [
"css/icons.css"
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: {
closurePath: "../closure/",
js: ["appframework.js","ayepromise.js"],
jsOutputFile: "build/appframework.min.js",
maxBuffer: 500,
options: {
},
noreport:true
},
"appframework-ui": {
closurePath: "../closure/",
js: ["appframework.js","ayepromise.js","build/ui/appframework.ui.js"],
jsOutputFile: "build/ui/appframework.ui.min.js",
options: {
},
maxBuffer: 500,
noreport:true
},
"af-ui-jquery": {
closurePath: "../closure/",
js: ["build/ui/af.ui.jquery.js"],
jsOutputFile: "build/ui/af.ui.jquery.min.js",
options: {
},
maxBuffer: 500,
noreport:true
},
plugins: {
closurePath: "../closure/",
js:"plugins/*.js",
jsOutputFile:"build/af.plugins.min.js",
js: ["build/appframework.ui.js"],
jsOutputFile: "build/appframework.ui.min.js",
options: {
},
maxBuffer: 500,
noreport:true
},
jq: {
closurePath: "../closure/",
js:"jq.appframework.js",
jsOutputFile:"build/jq.appframework.min.js",
options: {
},
maxBuffer: 500,
noreport:true
}
},
usebanner: {
taskName: {
@@ -237,25 +105,64 @@ module.exports = function (grunt) {
linebreak: true
},
files: {
src: [ "build/*.js","build/ui/*.js","build/css/*.css" ]
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",
"cssmin",
"concat",
"closure-compiler",
"usebanner"
"usebanner",
"watch"
]);
grunt.registerTask("test", ["mochaccino:unit"]);
grunt.registerTask("cov", ["clean","mochaccino:cov"]);
grunt.registerTask("rebuild" , ["cssmin","concat","closure-compiler","usebanner"]);
grunt.registerTask("rebuild" , ["concat","closure-compiler","usebanner"]);
grunt.registerTask("hint" , ["jshint"]);
};
grunt.registerTask("test" , ["karma"]);
};
Oops, something went wrong.

0 comments on commit ebf0b32

Please sign in to comment.