Replace transition-property to transition for Issue#230

old
Araphel 2015-12-23 23:47:29 -07:00
parent 20e41fb9e7
commit 25a9e65604
8 changed files with 25 additions and 23 deletions

View File

@ -1,5 +1,5 @@
{ {
"presets": ["react", "es2015", "stage-0"], "presets": ["es2015", "stage-0", "react"],
"env": { "env": {
"development": { "development": {
"plugins": [ "plugins": [

View File

@ -7,7 +7,7 @@
.enterActive, .leaveActive { .enterActive, .leaveActive {
transition-timing-function: $animation-curve-fast-out-slow-in; transition-timing-function: $animation-curve-fast-out-slow-in;
transition-duration: 500ms; transition-duration: 500ms;
transition-property: transform, opacity; transition: transform, opacity;
} }
.enter { .enter {

View File

@ -7,7 +7,7 @@
.enterActive, .leaveActive { .enterActive, .leaveActive {
transition-timing-function: $animation-curve-fast-out-slow-in; transition-timing-function: $animation-curve-fast-out-slow-in;
transition-duration: 500ms; transition-duration: 500ms;
transition-property: transform, opacity; transition: transform, opacity;
} }
.enter { .enter {

View File

@ -56,7 +56,7 @@
content: ""; content: "";
background-color: $radio-inner-color; background-color: $radio-inner-color;
border-radius: 50%; border-radius: 50%;
transition-property: transform; transition: transform;
transform: scale(0); transform: scale(0);
} }
} }

View File

@ -1,5 +1,5 @@
{ {
"presets": ["react", "es2015", "stage-0"], "presets": ["es2015", "stage-0", "react"],
"env": { "env": {
"development": { "development": {
"plugins": [ "plugins": [

View File

@ -10,7 +10,7 @@
}, },
"dependencies": { "dependencies": {
"classnames": "^2.2.1", "classnames": "^2.2.1",
"codemirror": "^5.8.0", "codemirror": "^5.10.0",
"history": "^1.17.0", "history": "^1.17.0",
"react": "^0.14.3", "react": "^0.14.3",
"react-dom": "^0.14.3", "react-dom": "^0.14.3",
@ -18,7 +18,7 @@
}, },
"devDependencies": { "devDependencies": {
"autoprefixer": "^6.0.3", "autoprefixer": "^6.0.3",
"babel-core": "^6.3.15", "babel-core": "^6.3.26",
"babel-eslint": "^5.0.0-beta4", "babel-eslint": "^5.0.0-beta4",
"babel-loader": "^6.2.0", "babel-loader": "^6.2.0",
"babel-plugin-react-transform": "^2.0.0-beta1", "babel-plugin-react-transform": "^2.0.0-beta1",
@ -26,7 +26,7 @@
"babel-preset-react": "^6.3.13", "babel-preset-react": "^6.3.13",
"babel-preset-stage-0": "^6.3.13", "babel-preset-stage-0": "^6.3.13",
"babel-preset-stage-2": "^6.3.13", "babel-preset-stage-2": "^6.3.13",
"cross-env": "^1.0.4", "cross-env": "^1.0.5",
"css-loader": "^0.21.0", "css-loader": "^0.21.0",
"express": "^4.13.3", "express": "^4.13.3",
"extract-text-webpack-plugin": "^0.8.2", "extract-text-webpack-plugin": "^0.8.2",

View File

@ -1,3 +1,4 @@
require("babel-polyfill");
const webpackConfig = require('./webpack.config.test'); const webpackConfig = require('./webpack.config.test');
module.exports = function (config) { module.exports = function (config) {
@ -7,7 +8,7 @@ module.exports = function (config) {
frameworks: ['mocha'], frameworks: ['mocha'],
files: [ files: [
'./node_modules/phantomjs-polyfill/bind-polyfill.js', './node_modules/phantomjs-polyfill/bind-polyfill.js',
'./node_modules/babel-core/browser-polyfill.js', './node_modules/babel-polyfill/dist/polyfill.js',
'tests.webpack.js' 'tests.webpack.js'
], ],
reporters: ['dots'], reporters: ['dots'],

View File

@ -52,41 +52,42 @@
}, },
"devDependencies": { "devDependencies": {
"autoprefixer": "^6.0.3", "autoprefixer": "^6.0.3",
"babel-core": "^6.3.15", "babel-cli": "^6.3.17",
"babel-core": "^6.3.26",
"babel-eslint": "^5.0.0-beta4", "babel-eslint": "^5.0.0-beta4",
"babel-loader": "^6.2.0", "babel-loader": "^6.2.0",
"babel-plugin-react-transform": "^2.0.0-beta1", "babel-plugin-react-transform": "^2.0.0-beta1",
"babel-polyfill": "^6.3.14",
"babel-preset-es2015": "^6.3.13", "babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13", "babel-preset-react": "^6.3.13",
"babel-preset-stage-0": "^6.3.13", "babel-preset-stage-0": "^6.3.13",
"babel-preset-stage-2": "^6.3.13",
"bluebird": "^3.0.5", "bluebird": "^3.0.5",
"core-js": "^1.2.6", "core-js": "^1.2.6",
"cpx": "^1.2.1", "cpx": "^1.2.1",
"cross-env": "^1.0.4", "cross-env": "^1.0.5",
"css-loader": "^0.21.0", "css-loader": "^0.21.0",
"eslint": "^1.10.3", "eslint": "^1.10.3",
"eslint-plugin-babel": "^3.0.0", "eslint-plugin-babel": "^3.0.0",
"eslint-plugin-react": "^3.11.3", "eslint-plugin-react": "^3.11.3",
"expect": "^1.8.0", "expect": "^1.13.4",
"express": "^4.13.3", "express": "^4.13.3",
"extract-text-webpack-plugin": "^0.8.2", "extract-text-webpack-plugin": "^0.8.2",
"glob": "^6.0.1", "glob": "^6.0.2",
"karma": "^0.13.3", "karma": "^0.13.15",
"karma-chrome-launcher": "^0.2.0", "karma-chrome-launcher": "^0.2.2",
"karma-cli": "^0.1.0", "karma-cli": "^0.1.2",
"karma-mocha": "^0.2.0", "karma-mocha": "^0.2.1",
"karma-phantomjs-launcher": "~0.2", "karma-phantomjs-launcher": "~0.2.1",
"karma-webpack": "^1.7.0", "karma-webpack": "^1.7.0",
"mocha": "^2.3.3", "mocha": "^2.3.4",
"node-sass": "^3.3.3", "node-sass": "^3.3.3",
"normalize.css": "^3.0.3", "normalize.css": "^3.0.3",
"phantomjs": "^1.9.18", "phantomjs": "^1.9.19",
"phantomjs-polyfill": "0.0.1", "phantomjs-polyfill": "0.0.1",
"postcss-loader": "^0.7.0", "postcss-loader": "^0.7.0",
"react": "^0.14.3", "react": "^0.14.3",
"react-addons-css-transition-group": "^0.14.0", "react-addons-css-transition-group": "^0.14.3",
"react-addons-test-utils": "^0.14.0", "react-addons-test-utils": "^0.14.3",
"react-docgen": "^2.4.0", "react-docgen": "^2.4.0",
"react-dom": "^0.14.3", "react-dom": "^0.14.3",
"react-transform-catch-errors": "^1.0.0", "react-transform-catch-errors": "^1.0.0",