Skip to content

Commit 1cb5c07

Browse files
committed
remove postcss and recast for now - only runtime polyfills
1 parent d101277 commit 1cb5c07

11 files changed

+48
-523
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
node_js:
2-
- "0.10"
3-
- "0.11"
2+
- "iojs"
3+
sudo: false
44
language: node_js
55
script: "npm run-script test-travis"
66
before_install: "npm update -g npm"

lib/feature.js

-60
This file was deleted.

lib/filter.js

-24
This file was deleted.

lib/index.js

-5
This file was deleted.

lib/polyfills.js

+4-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1+
'use strict'
12

2-
// to do:
3-
// https://github.com/medikoo/es6-symbol
4-
// https://github.com/tvcutsem/harmony-reflect
5-
// function.create?
6-
// string.prototype.at?
7-
8-
var inherits = require('util').inherits
9-
var Feature = require('./feature')
3+
const Feature = require('polyfills-feature')
4+
const inherits = require('util').inherits
105

116
module.exports = Polyfill
127

@@ -25,7 +20,7 @@ function Polyfill(options) {
2520
Polyfill.polyfills = []
2621
Polyfill.polyfill = {}
2722
Polyfill.register = function (obj) {
28-
var polyfill = new Polyfill(obj)
23+
const polyfill = new Polyfill(obj)
2924
Polyfill.polyfill[obj.name] =
3025
Polyfill.polyfill[obj.shortName] = polyfill
3126
Polyfill.polyfills.push(polyfill)

lib/postcss.js

-39
This file was deleted.

lib/postcss.json

-52
This file was deleted.

lib/recast.js

-30
This file was deleted.

lib/recast.json

-121
This file was deleted.

0 commit comments

Comments
 (0)