From a26a04f1a760c9129e03353e778c8f5d9d128b1c Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Wed, 2 Nov 2011 19:12:58 -0400 Subject: [PATCH] Misc updates --- README.md | 5 + docs/files.html | 4 +- docs/index.html | 4 +- docs/symbols/$_.dom.html | 221 +++++++++- docs/symbols/$_.event.html | 4 +- docs/symbols/$_.html | 4 +- docs/symbols/$_.store.html | 4 +- docs/symbols/$_.util.html | 159 +------- docs/symbols/_global_.html | 4 +- docs/symbols/src/kis-js_src_core.js.html | 386 +++++++++--------- .../src/kis-js_src_modules_DOM.js.html | 39 +- .../src/kis-js_src_modules_ajax.js.html | 197 ++++----- kis-all.js | 66 ++- kis-min.js | 21 +- src/core.js | 18 +- src/modules/DOM.js | 25 +- src/modules/ajax.js | 23 +- tests/index.html | 9 +- tests/tests/dom.js | 13 +- 19 files changed, 686 insertions(+), 520 deletions(-) diff --git a/README.md b/README.md index dca89fb..f31c770 100644 --- a/README.md +++ b/README.md @@ -139,6 +139,11 @@ functions: Set: $_(selector).dom.css(property, value); Get: $_(selector).dom.css(property); + +* html: Sets or gets html inside the selected element + + Set: $_(selector).dom.html(html_string); + Get: $_(selector).dom.html(); ### Util: Array and string manipulation functions ### diff --git a/docs/files.html b/docs/files.html index cb69d86..4f73b2d 100644 --- a/docs/files.html +++ b/docs/files.html @@ -33,7 +33,7 @@
-
 
$_.dom
addClass(string)
removeClass(string)
show(string)
attr(string, string)
+
 
$_.dom
addClass(string)
removeClass(string)
show(string)
attr(string, string)
text(string)
css(string, string)
html(string)
@@ -45,7 +45,7 @@
-
 
$_.util
text(string)
css(string, string)
object_keys(object)
array_combine(array/object, array/object)
object_merge(object)
str_trans(string, mixed, string)
+
 
$_.util
object_keys(object)
array_combine(array/object, array/object)
object_merge(object)
str_trans(string, mixed, string)
diff --git a/docs/index.html b/docs/index.html index 69d6cc5..6dea657 100644 --- a/docs/index.html +++ b/docs/index.html @@ -65,7 +65,7 @@
-
 
$_.dom
addClass(string)
removeClass(string)
show(string)
attr(string, string)
+
 
$_.dom
addClass(string)
removeClass(string)
show(string)
attr(string, string)
text(string)
css(string, string)
html(string)
@@ -77,7 +77,7 @@
-
 
$_.util
text(string)
css(string, string)
object_keys(object)
array_combine(array/object, array/object)
object_merge(object)
str_trans(string, mixed, string)
+
 
$_.util
object_keys(object)
array_combine(array/object, array/object)
object_merge(object)
str_trans(string, mixed, string)
diff --git a/docs/symbols/$_.dom.html b/docs/symbols/$_.dom.html index 2432894..4bd848e 100644 --- a/docs/symbols/$_.dom.html +++ b/docs/symbols/$_.dom.html @@ -36,7 +36,7 @@
-
 
$_.dom
addClass(string)
removeClass(string)
show(string)
attr(string, string)
+
 
$_.dom
addClass(string)
removeClass(string)
show(string)
attr(string, string)
text(string)
css(string, string)
html(string)
@@ -48,7 +48,7 @@
-
 
$_.util
text(string)
css(string, string)
object_keys(object)
array_combine(array/object, array/object)
object_merge(object)
str_trans(string, mixed, string)
+
 
$_.util
object_keys(object)
array_combine(array/object, array/object)
object_merge(object)
str_trans(string, mixed, string)
@@ -141,6 +141,30 @@ Sets attributes on element(s) specified by the current selector, or, if name is not specified, returns the value of the attribute of the element specified by the current selector.
+
+ + text(string) + Sets or retrieves the text content of the element specified by the current selector. +
+ +
+ + css(string, string) + Sets or retrieves a css property of the element specified by the current selector. +
+ +
+ + html(string) + Sets or gets the innerHTML propery of the element(s) passed +
+
@@ -434,6 +458,199 @@ current selector. +
Returns:
+ + + + + + + +
+ + + string +
+ + + + + + + +
+ +
+ $_.dom.text(string) + : string +
+
+ Sets or retrieves the text content of the element +specified by the current selector. If a value is +passed, it will set that value on the current element, +otherwise it will return the value of the current element + + + + +

+										
+									
+ + +
Parameters:
+ + + + + + + + +
+ + + string?, Default: + + value +
+ + + + + +
Returns:
+ + + + + + + +
+ + + string +
+ + + + +
+ + +
+ +
+ $_.dom.css(string, string) + : string +
+
+ Sets or retrieves a css property of the element +specified by the current selector. If a value is +passed, it will set that value on the current element, +otherwise it will return the value of the css property +on the current element + + + + +

+										
+									
+ + +
Parameters:
+ + + + + + + + + + + + + + +
+ + + string + + property +
+ + + string?, Default: + + value +
+ + + + + +
Returns:
+ + + + + + + +
+ + + string +
+ + + + +
+ + +
+ +
+ $_.dom.html(string) + : string +
+
+ Sets or gets the innerHTML propery of the element(s) passed + + + + +

+										
+									
+ + +
Parameters:
+ + + + + + + + +
+ + + string + + htm +
+ + + + +
Returns:
diff --git a/docs/symbols/$_.event.html b/docs/symbols/$_.event.html index 5ed737d..7788904 100644 --- a/docs/symbols/$_.event.html +++ b/docs/symbols/$_.event.html @@ -36,7 +36,7 @@
-
 
$_.dom
addClass(string)
removeClass(string)
show(string)
attr(string, string)
+
 
$_.dom
addClass(string)
removeClass(string)
show(string)
attr(string, string)
text(string)
css(string, string)
html(string)
@@ -48,7 +48,7 @@
-
 
$_.util
text(string)
css(string, string)
object_keys(object)
array_combine(array/object, array/object)
object_merge(object)
str_trans(string, mixed, string)
+
 
$_.util
object_keys(object)
array_combine(array/object, array/object)
object_merge(object)
str_trans(string, mixed, string)
diff --git a/docs/symbols/$_.html b/docs/symbols/$_.html index f15cfa9..098febc 100644 --- a/docs/symbols/$_.html +++ b/docs/symbols/$_.html @@ -36,7 +36,7 @@
-
 
$_.dom
addClass(string)
removeClass(string)
show(string)
attr(string, string)
+
 
$_.dom
addClass(string)
removeClass(string)
show(string)
attr(string, string)
text(string)
css(string, string)
html(string)
@@ -48,7 +48,7 @@
-
 
$_.util
text(string)
css(string, string)
object_keys(object)
array_combine(array/object, array/object)
object_merge(object)
str_trans(string, mixed, string)
+
 
$_.util
object_keys(object)
array_combine(array/object, array/object)
object_merge(object)
str_trans(string, mixed, string)
diff --git a/docs/symbols/$_.store.html b/docs/symbols/$_.store.html index d9e39f5..a0b7d06 100644 --- a/docs/symbols/$_.store.html +++ b/docs/symbols/$_.store.html @@ -36,7 +36,7 @@
-
 
$_.dom
addClass(string)
removeClass(string)
show(string)
attr(string, string)
+
 
$_.dom
addClass(string)
removeClass(string)
show(string)
attr(string, string)
text(string)
css(string, string)
html(string)
@@ -48,7 +48,7 @@
-
 
$_.util
text(string)
css(string, string)
object_keys(object)
array_combine(array/object, array/object)
object_merge(object)
str_trans(string, mixed, string)
+
 
$_.util
object_keys(object)
array_combine(array/object, array/object)
object_merge(object)
str_trans(string, mixed, string)
diff --git a/docs/symbols/$_.util.html b/docs/symbols/$_.util.html index 498f3ff..ad285a3 100644 --- a/docs/symbols/$_.util.html +++ b/docs/symbols/$_.util.html @@ -36,7 +36,7 @@
-
 
$_.dom
addClass(string)
removeClass(string)
show(string)
attr(string, string)
+
 
$_.dom
addClass(string)
removeClass(string)
show(string)
attr(string, string)
text(string)
css(string, string)
html(string)
@@ -48,7 +48,7 @@
-
 
$_.util
text(string)
css(string, string)
object_keys(object)
array_combine(array/object, array/object)
object_merge(object)
str_trans(string, mixed, string)
+
 
$_.util
object_keys(object)
array_combine(array/object, array/object)
object_merge(object)
str_trans(string, mixed, string)
@@ -101,22 +101,6 @@
Method Summary
-
- - text(string) - Sets or retrieves the text content of the element specified by the current selector. -
- -
- - css(string, string) - Sets or retrieves a css property of the element specified by the current selector. -
-

Kis-js Test Suite

@@ -25,7 +32,7 @@
- +