You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2015/12/17 20:22:09 UTC

[22/50] [abbrv] allura git commit: [#7919] safer babel 5 option

[#7919] safer babel 5 option


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/b09f4bf2
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/b09f4bf2
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/b09f4bf2

Branch: refs/heads/db/8034
Commit: b09f4bf2ed11bf651cd7f3328a5e0ce41e842bf7
Parents: 611b816
Author: Dave Brondsema <da...@brondsema.net>
Authored: Mon Dec 7 10:18:25 2015 -0500
Committer: Heith Seewald <he...@gmail.com>
Committed: Wed Dec 16 13:55:36 2015 -0600

----------------------------------------------------------------------
 .babelrc | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/b09f4bf2/.babelrc
----------------------------------------------------------------------
diff --git a/.babelrc b/.babelrc
index 2ef4aa1..a7abcc1 100644
--- a/.babelrc
+++ b/.babelrc
@@ -1,3 +1,9 @@
 {
-  "plugins": ["transform-class-properties"]
+  /*
+  With updated broccoli / babel (see package.json), we can be more precise with:
+    "plugins": ["transform-class-properties"],
+  Instead of "stage": 1.  Even now with babel 5.x, sometimes the plugins option works, but sometimes it doesn't :/
+   */
+
+   "stage": 1
 }
\ No newline at end of file