Permalink
Browse files

2.0 beta branch

  • Loading branch information...
1 parent 0913e53 commit 9e00c5454ea8f2c6afbb257f4110ab19ecd5ec8e Ian Maffett committed Jun 3, 2013
Showing with 41,636 additions and 22,004 deletions.
  1. +20 −1 .gitignore
  2. +0 −55 CHANGELOG.txt
  3. +6 −140 README.md
  4. 0 {kitchensink → }/ajax.html
  5. +880 −705 jq.mobi.js → appframework.js
  6. +51 −0 appframework.min.js
  7. +0 −11 composer.json
  8. +2,019 −0 css/af.ui.css
  9. +1,714 −0 css/afui.less
  10. +207 −0 css/icons.css
  11. +213 −0 css/src/android.css
  12. +20 −0 css/src/badges.css
  13. +160 −0 css/src/bb.css
  14. +161 −0 css/src/buttons.css
  15. +216 −0 css/src/forms.css
  16. +34 −0 css/src/grid.css
  17. +72 −0 css/src/lists.css
  18. +535 −0 css/src/main.css
  19. +343 −0 css/src/win8.css
  20. +1 −1 defer/index.html → defer.html
  21. +1,857 −0 documentation/af.ui.css
  22. +1,556 −0 documentation/af.ui.json
  23. +3,719 −0 documentation/appframework.json
  24. +55 −0 documentation/detail/$.ajax.md
  25. +7 −0 documentation/detail/$.bind.md
  26. +28 −0 documentation/detail/$.cleanUpContent.md
  27. +29 −0 documentation/detail/$.create.md
  28. +28 −0 documentation/detail/$.each.md
  29. +46 −0 documentation/detail/$.extend.md
  30. +7 −0 documentation/detail/$.get.md
  31. +12 −0 documentation/detail/$.getJSON.md
  32. +26 −0 documentation/detail/$.is$.md
  33. +30 −0 documentation/detail/$.isArray.md
  34. +30 −0 documentation/detail/$.isFunction.md
  35. +33 −0 documentation/detail/$.isObject.md
  36. +8 −0 documentation/detail/$.jsonP
  37. +37 −0 documentation/detail/$.map.md
  38. +20 −0 documentation/detail/$.param.md
  39. +20 −0 documentation/detail/$.parseJS.md
  40. +14 −0 documentation/detail/$.parseJSON.md
  41. +15 −0 documentation/detail/$.parseXML.md
  42. +14 −0 documentation/detail/$.post.md
  43. +32 −0 documentation/detail/$.proxy.md
  44. +16 −0 documentation/detail/$.query.md
  45. +16 −0 documentation/detail/$.ui.actionsheet.md
  46. +25 −0 documentation/detail/$.ui.addContentDiv.md
  47. +3 −0 documentation/detail/$.ui.autoLaunch.md
  48. +23 −0 documentation/detail/$.ui.blockUI.md
  49. +9 −0 documentation/detail/$.ui.clearHistory.md
  50. +7 −0 documentation/detail/$.ui.disableNativeScrolling.md
  51. +7 −0 documentation/detail/$.ui.disableSideMenu.md
  52. +8 −0 documentation/detail/$.ui.enableSideMenu.md
  53. +11 −0 documentation/detail/$.ui.finishTransition.md
  54. +12 −0 documentation/detail/$.ui.goBack.md
  55. +10 −0 documentation/detail/$.ui.hideMask.md
  56. 0 documentation/detail/$.ui.hideModal.md
  57. +17 −0 documentation/detail/$.ui.launch.md
  58. +17 −0 documentation/detail/$.ui.loadContent.md
  59. +10 −0 documentation/detail/$.ui.loadDefaultHash.md
  60. +9 −0 documentation/detail/$.ui.manageHistory.md
  61. +44 −0 documentation/detail/$.ui.popup.md
  62. +15 −0 documentation/detail/$.ui.ready.md
  63. +25 −0 documentation/detail/$.ui.removeBadge.md
  64. +10 −0 documentation/detail/$.ui.removeFooterMenu.md
  65. +6 −0 documentation/detail/$.ui.resetScrollers.md
  66. +9 −0 documentation/detail/$.ui.setBackButtonStyle.md
  67. +8 −0 documentation/detail/$.ui.setBackButtonText.md
  68. +14 −0 documentation/detail/$.ui.setSideMenuWidth.md
  69. +6 −0 documentation/detail/$.ui.setTitle.md
  70. +5 −0 documentation/detail/$.ui.showBackButton.md
  71. +16 −0 documentation/detail/$.ui.showMask.md
  72. +12 −0 documentation/detail/$.ui.showModal.md
  73. +8 −0 documentation/detail/$.ui.toggleHeaderMenu.md
  74. +8 −0 documentation/detail/$.ui.toggleNavMenu.md
  75. +10 −0 documentation/detail/$.ui.toggleSideMenu.md
  76. +3 −0 documentation/detail/$.ui.unblockUI.md
  77. +33 −0 documentation/detail/$.ui.updateBadge.md
  78. +25 −0 documentation/detail/$.ui.updateHeaderElement.md
  79. +25 −0 documentation/detail/$.ui.updateNavbarElements.md
  80. +10 −0 documentation/detail/$.ui.updatePanel.md
  81. +27 −0 documentation/detail/$.ui.updateSideMenuElements.md
  82. +5 −0 documentation/detail/$.ui.useAjaxCacheBuster.md
  83. +7 −0 documentation/detail/$.unbind.md
  84. +8 −0 documentation/detail/$.uuid.md
  85. +17 −0 documentation/detail/addClass.md
  86. +16 −0 documentation/detail/append.md
  87. +37 −0 documentation/detail/appendTo.md
  88. +22 −0 documentation/detail/attr.md
  89. +28 −0 documentation/detail/bind.md
  90. +53 −0 documentation/detail/children.md
  91. +39 −0 documentation/detail/clone.md
  92. +57 −0 documentation/detail/closest.md
  93. +18 −0 documentation/detail/computedStyle.md
  94. +24 −0 documentation/detail/css.md
  95. +5 −0 documentation/detail/data.md
  96. +1 −0 documentation/detail/delegate.md
  97. +18 −0 documentation/detail/empty.md
  98. +36 −0 documentation/detail/end.md
  99. +32 −0 documentation/detail/eq.md
  100. +36 −0 documentation/detail/filter.md
  101. +41 −0 documentation/detail/find.md
  102. +20 −0 documentation/detail/get.md
  103. +18 −0 documentation/detail/hasClass.md
  104. +29 −0 documentation/detail/height.md
  105. +19 −0 documentation/detail/hide.md
  106. +31 −0 documentation/detail/html.md
  107. +31 −0 documentation/detail/index.md
  108. +25 −0 documentation/detail/insertAfter.md
  109. +24 −0 documentation/detail/insertBefore.md
  110. +36 −0 documentation/detail/is.md
  111. +74 −0 documentation/detail/map.md
  112. +2,932 −0 documentation/detail/markdown.php
  113. +170 −0 documentation/detail/markdown_extended.php
  114. +36 −0 documentation/detail/not.md
  115. +52 −0 documentation/detail/off.md
  116. +33 −0 documentation/detail/offset.md
  117. +42 −0 documentation/detail/on.md
  118. +21 −0 documentation/detail/one.md
  119. +36 −0 documentation/detail/parent.md
  120. +57 −0 documentation/detail/parents.md
  121. +17 −0 documentation/detail/prepend.md
  122. +37 −0 documentation/detail/prependTo.md
  123. +22 −0 documentation/detail/prop.md
  124. +23 −0 documentation/detail/ready.md
  125. +18 −0 documentation/detail/remove.md
  126. +22 −0 documentation/detail/removeAttr.md
  127. +17 −0 documentation/detail/removeClass.md
  128. +22 −0 documentation/detail/removeProp.md
  129. +17 −0 documentation/detail/replaceClass.md
  130. +41 −0 documentation/detail/serialize.md
  131. +17 −0 documentation/detail/show.md
  132. +55 −0 documentation/detail/siblings.md
  133. +1 −0 documentation/detail/size.md
  134. +31 −0 documentation/detail/text.md
  135. +17 −0 documentation/detail/toggle.md
  136. +30 −0 documentation/detail/trigger.md
  137. +52 −0 documentation/detail/unbind.md
  138. +1 −0 documentation/detail/undelegate.md
  139. +20 −0 documentation/detail/val.md
  140. +7 −0 documentation/detail/vendorCss.md
  141. +29 −0 documentation/detail/width.md
  142. +336 −0 documentation/docgen.php
  143. +207 −0 documentation/icons.css
  144. +8,583 −0 documentation/index.html
  145. +44 −0 documentation/readme.md
  146. +0 −101 examples/index.html
  147. +0 −148 examples/js/jq.desktopBrowsers.js
  148. +0 −26 examples/js/jq.template.js
  149. +0 −210 examples/js/jq.ui.min.js
  150. +0 −77 examples/styles/icons.css
  151. +0 −1,149 examples/themes/jq.ui.css
  152. +2,268 −2,177 index.html
  153. +403 −0 jq.appframework.js
  154. +0 −47 jq.mobi.min.js
  155. 0 {kitchensink → }/json.html
  156. +0 −9 kitchensink/external.html
  157. +0 −79 kitchensink/icons.css
  158. BIN kitchensink/images/badge.png
  159. BIN kitchensink/images/splash.png
  160. +0 −1,156 kitchensink/jq.ui.css
  161. +0 −1,246 kitchensink/jq.ui.less
  162. +0 −1,288 kitchensink/jq.ui.less.css
  163. 0 license.txt
  164. +2 −524 plugins/README.md
  165. +87 −0 plugins/af.8tiles.js
  166. +93 −97 plugins/{jq.actionsheet.js → af.actionsheet.js}
  167. +318 −313 plugins/{jq.css3animate.js → af.css3animate.js}
  168. +148 −0 plugins/af.desktopBrowsers.js
  169. +55 −54 plugins/{jq.passwordBox.js → af.passwordBox.js}
  170. +200 −204 plugins/{jq.popup.js → af.popup.js}
  171. +1,441 −0 plugins/af.scroller.js
  172. +264 −0 plugins/af.selectBox.js
  173. +79 −0 plugins/af.slidemenu.js
  174. +21 −16 plugins/{jq.touchEvents.js → af.touchEvents.js}
  175. +60 −35 plugins/{jq.touchLayer.js → af.touchLayer.js}
  176. +48 −0 plugins/css/accordion.css
  177. 0 plugins/css/{jq.8tiles.css → af.8tiles.css}
  178. +50 −0 plugins/css/af.accordion.css
  179. +58 −58 plugins/css/{jq.actionsheet.css → af.actionsheet.css}
  180. +79 −77 plugins/css/{jq.popup.css → af.popup.css}
  181. +9 −9 plugins/css/{jq.scroller.css → af.scroller.css}
  182. +84 −0 plugins/css/af.selectBox.css
  183. +0 −35 plugins/css/jq.selectBox.css
  184. +39 −0 plugins/css/tabs.css
  185. +0 −30 plugins/jq.8tiles.js
  186. +0 −141 plugins/jq.alphatable.js
  187. +0 −479 plugins/jq.carousel.js
  188. +0 −181 plugins/jq.debug.js
  189. +0 −157 plugins/jq.desktopBrowsers.js
  190. +0 −225 plugins/jq.drawer.js
  191. +0 −112 plugins/jq.fx.js
  192. +0 −1,355 plugins/jq.scroller.js
  193. +0 −346 plugins/jq.selectBox.js
  194. +0 −39 plugins/jq.shake.js
  195. +0 −121 plugins/jq.swipe.js
  196. +0 −26 plugins/jq.template.js
  197. +0 −104 plugins/jq.web.min.js
  198. +0 −58 tests/index.html
  199. +0 −1 tests/qunit/qunit.css
  200. +0 −1 tests/qunit/qunit.js
  201. +0 −21 tests/server.php
  202. +0 −1,399 tests/unit/tests.js
  203. +4 −249 ui/README.md
  204. +5,505 −0 ui/appframework.ui.js
  205. +242 −0 ui/appframework.ui.min.js
  206. +0 −5,299 ui/jq.ui.js
  207. +0 −230 ui/jq.ui.min.js
  208. +837 −715 ui/src/{jq.ui.js → appframework.ui.js}
  209. +298 −333 ui/transitions/all.js
  210. 0 ui/transitions/build.php
  211. +9 −10 ui/transitions/fade.js
  212. +85 −83 ui/transitions/flip.js
  213. +65 −65 ui/transitions/pop.js
  214. +58 −58 ui/transitions/slide.js
  215. +40 −63 ui/transitions/slideDown.js
  216. +41 −55 ui/transitions/slideUp.js
View
@@ -1 +1,20 @@
-/vendor/
+
+*.bat
+/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
View
@@ -1,55 +0,0 @@
-1.2
-
-There are CSS file fixes from the 1.11 release to support Win8. If you do not want to support Win8, old CSS files will work fine.
-
-We have depricated the custom stylesheets. Slate will be the only one provided. You can use the style builder now and we have options that are close matches to the old stylesheets
-
-
-Enhancements
-
-jq.mobi.js
-
-added $().eq, $().is, $().index functions and unit tests
-
-added wrappers for "click keydown keyup keypress submit load resize change select error" event bindings
- $().click(fn) - will create a click listener
- $().click() - will trigger a click event
-
-
-$.os.ie - detect W8/WP8 devices
-
-$().vendorCss() - Get/Set CSS properties with vendor specific prefixes.
- $obj.vendorCss("Transform","translate3d(0,0,0)";
- $obj.css("WebkitTransform","translate3d(0,0,0)";
-
-
-$.feat.cssPrefix - cross browser vendor prefix ("Webkit","Moz","O","MS","") - use for css3
-
-$.feat.cssTransformStart - detects support for 2d or 3d transforms
-$.feat.cssTransformEnd - detects support for 2d or 3d transforms
- e.g $obj.css($.feat.cssPrefix+"Transform",$.feat.cssTransformStart+"0,0"+$.feat.cssTransformEnd);
- $obj.css("WebkitTransform","translate3d(0,0,0)";
-
-
-$.getCssMatrix(ele) - returns a matrix with the CSS3 values. If the browser provides a native implementation (webkit) we use that, otherwise it's a basic matrix
- - use this instead of new WebkitMatrix()
-
-added _shimNodes - performance improvements to query selector. instead of calling [].slice.call to convert nodelist to array and then sort, we sort the node list
-
-
-"-webkit-" specific styles have been removed in the js code. All style references in javascript use $.feat.cssPrefix now.
-
-Native scrolling is available on WP8 and Android 4.1+ devices
-
-
-
-Fixes
-
-Fix actionsheet positioning at start
-
-Provide a fix for IE10 dispatching events to random elements - There's a bug in IE10 when an anchor's href is set to "javascript:;"
-
-Fix routing of clicks in IE10 and Chrome
-
-
-
View
@@ -1,144 +1,8 @@
-# jqMobi - a HTML5 targeted Javascript Framework
+# App Framework - a HTML5 targeted Javascript Framework
-jqMobi is a Javascript framework targeted at HTML5 browsers with a blazingly fast query selector library that supports W3C queries.
+App Framework is a Javascript framework targeted at HTML5 browsers with a blazingly fast query selector library that supports W3C queries.
-It is comprised of three parts.
-
-1) jqMobi - query selector library
-
-2) jqUi - UI/UX library for mobile applications in a webkit browser or W8/WP8. Please see the Kitchen Sink folder for a demo
-
-3) jqPlugins - plugins for mobile applications in a webkit browser or W8/WP8.
-
-
-# About jqMobi
-
-
-We started talking to our development community and asked them what they wanted. The key features were
-
-1. Fast performance
-
-2. Small code base
-
-3. Only needs to support a small subset of commands
-
-Rather then try to improve another library, we found it easier to build one from the ground up, but recognizing the groundwork other frameworks laid out. By doing this, we were able to identify simple ways to increase speed performance. Our tests repeatedly showed we were 2x or more faster at single operation commands.
-
-All the libraries performed similar when operations were performed on a group of elements.
-
-
-# Using jqMobi
-
-To use jqMobi, include the script in your html file. You can use the pre-built minified version.
-
-``` js
-<script src="jq.mobi.min.js"></script>
-```
-
-This will then create two objects that you can work with. It will NOT override a pre-existing $ object.
-``` js
-$("#main")
-jq("#main")
-```
-
-# Query Selector
-
-W3C spec'ed queries are supported. What this means is you can do the following
-
-``` js
-$("input[type='text']")
-```
-
-You can NOT do the following, as it's not supported by the browsers.
-
-``` js
-$("input:text")
-```
-
-In some functions, an additional selector can be used. This can be a string, array, or a jqMobi object. We currently do not support functions
-
-
-
-# Syntax:
-
-Basic call
-
-``` js
-$("#id").hide()
-```
-
-You can specify a Dom element, selector, list of nodes, or HTML string.
-
-``` js
-$("span").bind("click",function(){console.log("clicked");}); // -> find all span elements and attach a click event
-```
-You can pass in an HTML string and it will create the object for you.
-
-``` js
-var myDiv=$("<div id='foo'>") //Creates a div object and returns it
-```
-
-# jqMobi API functions - Please see http://app-framework-software.intel.com/api for all functions
-
-
-# jqMobi Ajax calls
-
-``` js
-
-.get(url,callback) //Makes an Ajax request to the URL and executes the callback funtion with the result
-.post(url,data,callback,dataType) //Makes an Ajax POST request to the URL with the data and executes the callback with the result. An optional dataType can be passed in, as some webservices require the header
-.getJSON(url,data,callback) //Makes an ajax request with the data and executes callback function passing in a JSON object from the Ajax response into the callback function.
-```
-If you need more access, you can use the following.
-
-``` js
-.ajax {
- type:'POST', //defaults to GET
- url:'/api/getinfo', //defaults to window.location
- contentType:'application/json', //defaults to application/x-www-form-urlencoded
- headers:{},
- dataType:'application/json', //defaults to text/html
- data:{username:foo}, //Can be a Key/Value pair string or object. If it's an object, $.serialize is called to turn it into a Key/Value pair string
- success:function(data){}, //function to call on successful Ajax request
- error:function(data){}, //function to call when an error exists in the Ajax request
-}
-```
-
-If the url contains the pattern =? in it, a jsonP request will be made. These can ONLY be GET requests
-
-# jqMobi Helper calls
-``` js
-.param() //Serialize a JSON object into KVP for a querystring
-.parseJSON(string) //Backwards compatability JSON parsing call. Uses the browsers native JSON parser
-.parseXML(string) //Parses a string and returns a XML document version
-```
-
-# jqMobi OS detectors
-
-``` js
-$.os.webkit //True if webkit found in the user agent
-$.os.android //True if anroid useragent
-$.os.ipad //True if iPad useragent
-$.os.iphone //True if iPhone user agent
-$.os.webos //True if WebOS detected
-$.os.touchpad //True if WebOS and Touchpad user agent
-$.os.ios //True if iPad or iPhone
-$.os.blackberry //True if Blackberry PlayBook or OS >=6
-```
-
-# Plugins
-
-jqMobi is built with the extendability to add plugins. To create a plugin, you will most likely extend the $.fn object by passing a reference of the main jqMobi object
-
-``` js
-
-(function($){
- $.fn['foo']=function(){
- alert("bar");
- }
-})(jq);
-
-```
+Visit <http://app-framework-software.intel.com/> for more information, documentation, and support.
# Contribute
@@ -166,6 +30,8 @@ Please use github issues and file any bugs with the following
App Framework is is licensed under the terms of the MIT License, see the included license.txt file.
-jqMobi uses code from the following software:
+App Framework uses code from the following software:
+
1) Zepto.js - Thomas Fuchs (MIT X11 License)
+
2) qUnit - jQuery Foundation (MIT X11 License)
View
File renamed without changes.
Oops, something went wrong.

0 comments on commit 9e00c54

Please sign in to comment.