diff --git a/pointerevents.js b/pointerevents.js
index 75813588..b1e9c588 100644
--- a/pointerevents.js
+++ b/pointerevents.js
@@ -30,11 +30,11 @@
var src = script.attributes.src.value;
var basePath = src.slice(0, src.indexOf(thisFile));
- if (!window.Loader) {
+ if (!window.PolymerLoader) {
var path = basePath + 'tools/loader/loader.js';
document.write('');
}
- document.write('');
+ document.write('');
})();
diff --git a/src/PointerEvent.js b/src/PointerEvent.js
index eacc91a0..f1896c99 100644
--- a/src/PointerEvent.js
+++ b/src/PointerEvent.js
@@ -30,7 +30,7 @@
}
function PointerEvent(inType, inDict) {
- var inDict = inDict || {};
+ inDict = inDict || {};
// According to the w3c spec,
// http://www.w3.org/TR/DOM-Level-3-Events/#events-MouseEvent-button
// MouseEvent.button == 0 can mean either no mouse button depressed, or the
@@ -103,7 +103,7 @@
if (!HAS_BUTTONS) {
// IE 10 has buttons on MouseEvent.prototype as a getter w/o any setting
// mechanism
- Object.defineProperty(e, 'buttons', {get: function(){ return buttons }, enumerable: true});
+ Object.defineProperty(e, 'buttons', {get: function(){ return buttons; }, enumerable: true});
}
// Spec requires that pointers without pressure specified use 0.5 for down
diff --git a/src/capture.js b/src/capture.js
index 89e72b93..464e7724 100644
--- a/src/capture.js
+++ b/src/capture.js
@@ -35,10 +35,10 @@
if (!Element.prototype.setPointerCapture) {
Object.defineProperties(Element.prototype, {
'setPointerCapture': {
- value: s,
+ value: s
},
'releasePointerCapture': {
- value: r,
+ value: r
}
});
}
diff --git a/src/dispatcher.js b/src/dispatcher.js
index f2d01bef..a575924b 100644
--- a/src/dispatcher.js
+++ b/src/dispatcher.js
@@ -64,7 +64,7 @@
},
// EVENTS
down: function(inEvent) {
- this.fireEvent('pointerdown', inEvent)
+ this.fireEvent('pointerdown', inEvent);
},
move: function(inEvent) {
this.fireEvent('pointermove', inEvent);
@@ -74,7 +74,7 @@
},
enter: function(inEvent) {
inEvent.bubbles = false;
- this.fireEvent('pointerenter', inEvent)
+ this.fireEvent('pointerenter', inEvent);
},
leave: function(inEvent) {
inEvent.bubbles = false;
@@ -82,7 +82,7 @@
},
over: function(inEvent) {
inEvent.bubbles = true;
- this.fireEvent('pointerover', inEvent)
+ this.fireEvent('pointerover', inEvent);
},
out: function(inEvent) {
inEvent.bubbles = true;
diff --git a/src/installer.js b/src/installer.js
index 21f035d3..b544729e 100644
--- a/src/installer.js
+++ b/src/installer.js
@@ -104,7 +104,7 @@
} else if (m.type === 'attributes') {
this.elementChanged(m.target, m.oldValue);
}
- },
+ }
};
if (!MO) {
diff --git a/src/touch.js b/src/touch.js
index f19c72c5..f3d601ab 100644
--- a/src/touch.js
+++ b/src/touch.js
@@ -82,7 +82,7 @@
EMITTER: 'none',
XSCROLLER: 'pan-x',
YSCROLLER: 'pan-y',
- SCROLLER: /^(?:pan-x pan-y)|(?:pan-y pan-x)|auto$/,
+ SCROLLER: /^(?:pan-x pan-y)|(?:pan-y pan-x)|auto$/
},
touchActionToScrollType: function(touchAction) {
var t = touchAction;
@@ -305,7 +305,7 @@
var fn = (function(lts, lt){
var i = lts.indexOf(lt);
if (i > -1) {
- lts.splice(i, 1)
+ lts.splice(i, 1);
}
}).bind(null, lts, lt);
setTimeout(fn, DEDUP_TIMEOUT);
diff --git a/tools b/tools
index 313f7524..03ce077c 160000
--- a/tools
+++ b/tools
@@ -1 +1 @@
-Subproject commit 313f7524ce37689ebfb60c81f7bda721535467cf
+Subproject commit 03ce077cc6676eda5d87baa185a1519c273430c5