From 4d751fe41b197e1109ec21243eac72deb9865215 Mon Sep 17 00:00:00 2001 From: Razvan Stoenescu Date: Sun, 18 Sep 2016 14:22:52 +0300 Subject: [PATCH] chore: Updated some deps --- package.json | 10 +++++----- src/utils/event.js | 2 +- src/vue-components/spinner/spinner.js | 20 ++++++++++++++++++-- 3 files changed, 24 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 8c39aec94be..5c2261b1cae 100644 --- a/package.json +++ b/package.json @@ -63,9 +63,9 @@ "codecov.io": "^0.1.6", "colors": "^1.1.2", "connect-history-api-fallback": "^1.2.0", - "css-loader": "^0.23.1", + "css-loader": "^0.25.0", "eslint": "^3.1.0", - "eslint-config-standard": "^5.3.5", + "eslint-config-standard": "^6.0.1", "eslint-friendly-formatter": "^2.0.6", "eslint-loader": "^1.4.1", "eslint-plugin-html": "^1.5.1", @@ -93,13 +93,13 @@ "karma-sauce-launcher": "^1.0.0", "karma-sourcemap-loader": "^0.3.7", "karma-webpack": "^1.7.0", - "material-design-icons": "^2.2.3", + "material-design-icons": "^3.0.1", "object-assign": "^4.1.0", "phantomjs": "^2.1.7", - "postcss-loader": "^0.9.1", + "postcss-loader": "^0.13.0", "raw-loader": "^0.5.1", "roboto-fontface": "^0.6.0", - "rollup": "^0.34.1", + "rollup": "^0.35.12", "rollup-plugin-babel": "^2.6.1", "rollup-plugin-string": "^2.0.2", "rollup-plugin-vue": "^2.0.1", diff --git a/src/utils/event.js b/src/utils/event.js index e56691dff93..2cdf1bf2e78 100644 --- a/src/utils/event.js +++ b/src/utils/event.js @@ -27,7 +27,7 @@ export function position (e) { posx = e.clientX posy = e.clientY } - else if (e.pageX || e.pageY) { + else if (e.pageX || e.pageY) { posx = e.pageX - document.body.scrollLeft - document.documentElement.scrollLeft posy = e.pageY - document.body.scrollTop - document.documentElement.scrollTop } diff --git a/src/vue-components/spinner/spinner.js b/src/vue-components/spinner/spinner.js index 2066c44816b..2e410d3a19c 100644 --- a/src/vue-components/spinner/spinner.js +++ b/src/vue-components/spinner/spinner.js @@ -20,8 +20,24 @@ import tail from './svg-spinners/tail.svg' import { current as theme } from '../../theme' let templates = { - audio, ball, bars, circles, dots, facebook, gears, grid, hearts, - hourglass, infinity, ios, oval, pie, puff, radio, rings, tail + audio, + ball, + bars, + circles, + dots, + facebook, + gears, + grid, + hearts, + hourglass, + infinity, + ios, + oval, + pie, + puff, + radio, + rings, + tail } export default (_Vue) => {