Removed unnecessary test result.

This commit is contained in:
chocolatechipui@sourcebits.com 2015-08-26 21:04:13 -07:00
parent 733d010a3f
commit 9e31d60631

View File

@ -1,91 +0,0 @@
/// <reference path="../jquery/jquery.d.ts"/>
/// <reference path="chui.d.ts"/>
$(function () {
/**
* Test static methods:
*/
var concatenatedText = $.concat("This", "is", "text", "to", "contatenate.");
$.forEach([1, 2, 3], function (ctx) {
return ctx;
});
$.forEach([1, 2, 3], function (ctx, idx) {
return idx;
});
var isiPhone = $.isiPhone;
var isAndroid = $.isAndroid;
var isWinPhone = $.isWinPhone;
$('li').on($.eventStart, function () {
return;
});
$('li').on($.eventEnd, function () {
return;
});
$('li').on($.eventMove, function () {
return;
});
$('li').on($.eventCancel, function () {
return;
});
var browserVersion = $.browserVersion();
$.UIHideNavBar();
$.UIShowNavBar();
$.UIGoToArticle("#main");
$.UIGoBack();
$.UIGoBackToArticle("#main");
$.UIEnableBrowserHashModification();
$.UIBlock();
$.UIBlock(.5);
$.UIUnblock();
$.UIPopup({ id: "myPopup", message: 'Hello!!!' });
$.UIPopup({ message: 'Hello!!!', title: "Whatever", callback: $.noop });
$.UIPopup({ message: 'Hello!!!', cancelButton: "Forget It!", continueButton: "OK" });
$.UIPopover({ id: "myPopover" });
$.UIPopover({ callback: function () { } });
$.UIPopover({ title: "Whatever" });
$.UIPopover({ id: "myPopover", callback: function () { }, title: "Whatever" });
$.UIPopoverClose();
$.UICreateSegmented({ id: "mySegmentedControl", labels: ['first', 'second', 'third'], selected: 0, className: "special" });
$.UIPaging();
$.UISheet({ id: "mySheet", listClass: "specialList", background: 'red', handle: false });
$.UIShowSheet("#mySheet");
$.UIHideSheet();
$.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>1</li><li>2</li><li>3</li>");
$.UISetupCarousel({ target: "#carousel", panels: carouselPanels });
$.UIBindData();
$.UIBindData("#myBoundData");
$.UIUnBindData();
$.UIUnBindData("#myBoundData");
/**
* Test plugin methods:
*/
$("li").forEach(function (ctx, idx) {
console.log(ctx.nodeName + ": " + idx);
});
$('li').iz(".selected").hide();
$('li').iznt(".selected").show();
$('li').haz("span").hide();
$('li').haznt("span").show();
$('li').hazClass(".selected").hide();
$('li').hazntClass(".selected").show();
$('li').hazAttr("disabled").hide();
$('li').hazntAttr("disabled").show();
$('#main').bind("singletap", function () {
return;
});
$('#main').UICenter();
$('#main').UIBusy({ size: "120px", color: "red", duration: "5000ms" });
$('#myPopup').UIPopupClose();
$('#mySegementedControl').UISegmented({ selected: 2, callback: $.noop });
$("#panelToggler").UIPanelToggle("#togglePanels", $.noop);
$('#editList').UIEditList({ callback: $.noop, deletable: false, movable: true });
$('#mySelectList').UISelectList();
$('#myStepper').UIStepper({ start: 1, end: 10, defaultValue: 5 });
$('#mySwitch').UISwitch();
$('#myRangeControl').UIRange();
});