allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [06/50] [abbrv] allura git commit: [#7919] safer babel 5 option
Date Fri, 08 Jan 2016 19:30:11 GMT
[#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/d88abf7f
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/d88abf7f
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/d88abf7f

Branch: refs/heads/master
Commit: d88abf7fe49a08e03340b50f86ef7dfcecede119
Parents: 62aba1e
Author: Dave Brondsema <dave@brondsema.net>
Authored: Mon Dec 7 10:18:25 2015 -0500
Committer: Dave Brondsema <dave@brondsema.net>
Committed: Fri Jan 8 14:06:14 2016 -0500

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


http://git-wip-us.apache.org/repos/asf/allura/blob/d88abf7f/.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


Mime
View raw message