Skip to content

Commit

Permalink
🐛 📦 fix comments JS on IE11 #432
Browse files Browse the repository at this point in the history
  • Loading branch information
moustachu committed Feb 28, 2019
1 parent d5bbdcd commit 9791bfb
Show file tree
Hide file tree
Showing 6 changed files with 138 additions and 85 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"react",
"stage-2"
],
"plugins": ["transform-decorators-legacy"],
"plugins": ["transform-object-assign","transform-decorators-legacy"],
"env": {
"test": {
"plugins": [
Expand Down
44 changes: 22 additions & 22 deletions decidim-admin/app/assets/javascripts/decidim/admin/bundle.js

Large diffs are not rendered by default.

100 changes: 50 additions & 50 deletions decidim-comments/app/assets/javascripts/decidim/comments/bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions decidim-comments/app/frontend/entry.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import "babel-polyfill";
import * as React from "react";
import * as ReactDOM from "react-dom";

Expand Down
74 changes: 62 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@
"babel-loader": "^7.1.4",
"babel-plugin-__coverage__": "~11.0.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-object-assign": "^6.22.0",
"babel-polyfill": "^6.26.0",
"babel-preset-airbnb": "^2.4.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
Expand Down

0 comments on commit 9791bfb

Please sign in to comment.