Skip to content
This repository has been archived by the owner on Apr 16, 2019. It is now read-only.

Commit

Permalink
Release 0.9.3 (skipping 2). Will package up soon. Major fixes, enhanc…
Browse files Browse the repository at this point in the history
…ements, etc. See the index.html for examples and the updated README.md files.

fix #54 - iOS will let you show/hide now
fix #51  - rewrote ajax parts
fix #49  -this should be resolved (ajax links working)
fix #40 - HTML5 history now in use
fix #37 - should be fixed now
fix #34 - jqMobi shouldn't replace itself anymore (need to check)
fix #33 - useViewport Removed and meta tag device width used instead
fix #32 - should be fixed with disabled select boxes
fix #16 - Navigation is now blocked during transitions
fix #12 - this is resolved in the scroller libary
fix #6 - Updated and has tension for outside of scrolling bounds
  • Loading branch information
Ian Maffett committed Jan 31, 2012
1 parent 89bdc57 commit 8069fae
Show file tree
Hide file tree
Showing 23 changed files with 2,631 additions and 1,517 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ It is comprised of three parts.

1) jqMobi - query selector library

2) jQ.Ui - UI/UX library for mobile applications in a webkit browser. Please see the Kitchen Sink folder for a demo
2) jqUi - UI/UX library for mobile applications in a webkit browser. Please see the Kitchen Sink folder for a demo

3) jqPlugins - plugins for mobile applications in a webkit browser.

Expand Down Expand Up @@ -119,11 +119,10 @@ var myDiv=$("<div id='foo'>") //Creates a div object and returns it
.filter(selector) //Filters the elements based off selector
.not(selector) //Filters the elements based off the selector. Returns matches that do NOT match the selector
.end() //Used in conjuction with filtered results to get the previous jqMobi object
.clone(deep)//Clones an object and returns the new clone
.isArray(param) //Returns true/false if param is an array
.isFunction(param) //Returns true/false if param is a function
.isObject(param) //Returns true/false if param is an object

.useViewPort(portrait,landscape) //Sets viewport for portrait or landscape
```

# jqMobi Ajax calls
Expand Down
742 changes: 637 additions & 105 deletions index.html

Large diffs are not rendered by default.

25 changes: 13 additions & 12 deletions jq.mobi.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,19 +282,19 @@ if (!window.jq || typeof (jq) !== "function") {
css: function(attribute, value) {
if (this.length === 0)
return undefined;
if (value === undefined && typeof (attribute) === "string"){
var styles=window.getComputedStyle(this[0]);
return styles[attribute]?styles[attribute]:this[0].style[attribute];
}
if (value === undefined && typeof (attribute) === "string") {
var styles = window.getComputedStyle(this[0]);
return styles[attribute] ? styles[attribute] : this[0].style[attribute];
}
for (var i = 0; i < this.length; i++) {
if ($.isObject(attribute)) {
for (var j in attribute) {
this[i].style[j] = attribute[j];
}
}
else{
else {
this[i].style[attribute] = value;
}
}
}
return this;
},
Expand Down Expand Up @@ -626,14 +626,15 @@ if (!window.jq || typeof (jq) !== "function") {
return this.oldElement != undefined ? this.oldElement : $();
},
clone: function(deep) {
deep = deep === false ? false : true;
if (this.length == 0)
return undefined;
var elems=[];
for(var i=0;i<this.length;i++)
{
elems.push(this[i].cloneNode(deep));
}
var elems = [];
for (var i = 0; i < this.length; i++)
{
elems.push(this[i].cloneNode(deep));
}
return $(elems);
},
size: function() {
Expand Down
4 changes: 2 additions & 2 deletions jq.mobi.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion kitchensink/ajax.html

This file was deleted.

9 changes: 9 additions & 0 deletions kitchensink/external.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<div title="External Page" id="jquiexternal" >
This is content loaded from an external page. There will be a div created, but we will force a reload
Random # <span id='mytest'></span>
<script>
window.setTimeout(function(){
$("#mytest").html(Math.floor(Math.random()*11))
},10);
</script>
</div>
Binary file modified kitchensink/images/Off-On_Slider.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 8069fae

Please sign in to comment.