Skip to content

Commit

Permalink
Remove babel-polyfill dep
Browse files Browse the repository at this point in the history
  • Loading branch information
aldeed committed Dec 26, 2016
1 parent 4f53eec commit 29c6d9f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ npm install simpl-schema

There are other NPM packages named `simpleschema` and `simple-schema`. Make sure you install the right package. There is no "e" on "simpl".

NOTE: You may also need to load the `babel-polyfill` package if you get any errors related to missing ES6 functions in certain browsers.

## Lingo

In this documentation:
Expand Down
1 change: 0 additions & 1 deletion lib/SimpleSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,6 @@ function checkSchemaOverlap(schema) {
_.each(schema, (val, key) => {
_.each(val.type.definitions, (def) => {
if (!(def.type instanceof SimpleSchema)) return;
console.log(key, def.type);

_.each(def.type._schema, (subVal, subKey) => {
const newKey = `${key}.${subKey}`;
Expand Down
1 change: 0 additions & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'babel-polyfill';
import { SimpleSchema, ValidationContext } from './SimpleSchema';
import './clean.js';

Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"test:watch": "npm test -- --watch"
},
"dependencies": {
"babel-polyfill": "^6.9.1",

This comment has been minimized.

Copy link
@yanickrochon

yanickrochon Dec 29, 2016

See issue #34

"clone": "^1.0.2",
"message-box": "0.0.1",
"mongo-object": "0.0.1",
Expand Down

0 comments on commit 29c6d9f

Please sign in to comment.