Excise HacksSelectorCanvas
[Hacks.git] / Main.js
diff --git a/Main.js b/Main.js
index 2ec09a8..68194e2 100644 (file)
--- a/Main.js
+++ b/Main.js
@@ -7,7 +7,6 @@ enyo.kind({
        components: [
                {kind: "ApplicationEvents", onWindowActivated: "windowActivated", onWindowDeactivated: "windowDeactivated"},
                {name: "hacksCarousel", kind: "Carousel", flex: 1, onGetLeft: "getLeft", onGetRight: "getRight", onScroll: "scrolling", onScrollStart: "startScroll", onScrollStop: "stopScroll"},
-               //{name: "hacksSelector", kind: "HacksSelector"}
                {name: "info", kind: "HFlexBox", className: "info", style: "opacity: 0", showing: false, components: [
                        {name: "title"},
                        {kind: "Spacer"},
@@ -35,7 +34,6 @@ enyo.kind({
                this.index = 0;
                this.lastScrollPos = 0;
                this.$.hacksCarousel.setCenterView(this.getHack(this.index));
-               //this.$.hacksSelector.setHacksList(this.hacksList);
        },
        ready: function() {
                this.startHack();
@@ -131,8 +129,6 @@ enyo.kind({
        scrolling: function(inSender) {
                if (inSender.scrollLeft == 0 || inSender.scrollLeft == inSender.getBoundaries().right)
                        this.startHack();
-               //this.$.hacksSelector.index = this.index + ((inSender.scrollLeft - this.lastScrollPos) / window.innerWidth);
-               //this.$.hacksSelector.draw();
        },
        startScroll: function(inSender) {
                this.stopHack();