Updated ChUI to version 3.9.0 types.

This commit is contained in:
sourcebits-robertbiggs
2015-08-08 08:08:39 -07:00
parent 8de599097a
commit 2657762049
2 changed files with 938 additions and 721 deletions
+5 -5
View File
@@ -1,4 +1,4 @@
/// <reference path="../chocolatechipjs/chocolatechipjs.d.ts"/>
/// <reference path="../jquery/jquery.d.ts"/>
/// <reference path="chui.d.ts"/>
$(function() {
@@ -7,10 +7,10 @@ $(function() {
* Test static methods:
*/
var concatenatedText = $.concat("This", "is", "text", "to", "contatenate.");
$.forEach([1,2,3], function(ctx) {
$.forEach([1,2,3], function(ctx: number) {
return ctx;
});
$.forEach([1,2,3], function(ctx, idx) {
$.forEach([1,2,3], function(ctx: number, idx: number) {
return idx;
});
@@ -53,13 +53,13 @@ $(function() {
$.UISheet({id: "mySheet", listClass: "specialList", background: 'red', handle: false});
$.UIShowSheet("#mySheet");
$.UIHideSheet();
$.UISlideout({position: "right", dynamic: false, callback: $.noop});
$.UISlideout({dynamic: false, callback: $.noop});
var myStepper = $('#myStepper');
$.UIResetStepper(myStepper);
$.UICreateSwitch({id: "mySwitch", value: 5, checked: "true", callback: $.noop});
$.UITabbar({ tabs: 3, labels: ["one", "two", "three"], selected: 2 });
$.UISearch({ articleId: "#main", placeholder: "Looking?", results: 10 });
var carouselPanels = $('li');
var carouselPanels = $("<li>1</li><li>2</li><li>3</li>");
$.UISetupCarousel({target: "#carousel", panels: carouselPanels});
$.UIBindData();
$.UIBindData("#myBoundData");
+933 -716
View File
File diff suppressed because it is too large Load Diff