Skip to content

Commit

Permalink
added MS edge to the config
Browse files Browse the repository at this point in the history
  • Loading branch information
rofrischmann committed Jan 2, 2016
1 parent 0cd7c25 commit ac281fa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = {
ie: 9,
ie_mob: 9,
opera: 13,
edge: 12,
op_mini: 5,
and_uc: 9,
and_chr: 30
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "inline-style-prefixer",
"version": "0.5.4",
"version": "0.6.0",
"description": "Autoprefixer for Inline Style objects using userAgent and caniuse data",
"main": "lib/Prefixer.js",
"files": [
Expand Down
6 changes: 3 additions & 3 deletions test/prefixer-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ describe('Running on android < 4.4', () => {
})

describe('Prefixing with MS Edge', () => {
it('should not require any properties', () => {
const edgePrefixer = new Prefixer(MSEdge12)
expect(new Prefixer(MSEdge12)._hasPropsRequiringPrefix).to.eql(false)
it('should not add -webkit- prefixes', () => {
const input = {alignItems: 'center', justifyContent: 'center'}
expect(new Prefixer(MSEdge12).prefix(input)).to.eql(input)
})
})

Expand Down

0 comments on commit ac281fa

Please sign in to comment.