From 9e31d606318dd9570bbb98c6cf9a3036f858fffc Mon Sep 17 00:00:00 2001 From: "chocolatechipui@sourcebits.com" Date: Wed, 26 Aug 2015 21:04:13 -0700 Subject: [PATCH] Removed unnecessary test result. --- chui/chui-tests.js | 91 ---------------------------------------------- 1 file changed, 91 deletions(-) delete mode 100644 chui/chui-tests.js diff --git a/chui/chui-tests.js b/chui/chui-tests.js deleted file mode 100644 index 92c2da5fa..000000000 --- a/chui/chui-tests.js +++ /dev/null @@ -1,91 +0,0 @@ -/// -/// -$(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 = $("
  • 1
  • 2
  • 3
  • "); - $.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(); -});