ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject ignite git commit: IGNITE-1200 Fixed regex
Date Tue, 03 Nov 2015 09:01:00 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-843-rc1 635bcff25 -> 526f2be32


IGNITE-1200 Fixed regex


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

Branch: refs/heads/ignite-843-rc1
Commit: 526f2be321936269315249e3f81a1477415de439
Parents: 635bcff
Author: Andrey <anovikov@gridgain.com>
Authored: Tue Nov 3 16:00:52 2015 +0700
Committer: Andrey <anovikov@gridgain.com>
Committed: Tue Nov 3 16:00:52 2015 +0700

----------------------------------------------------------------------
 modules/control-center-web/src/main/js/helpers/common-utils.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/526f2be3/modules/control-center-web/src/main/js/helpers/common-utils.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/helpers/common-utils.js b/modules/control-center-web/src/main/js/helpers/common-utils.js
index 7ea8885..2f31ea0 100644
--- a/modules/control-center-web/src/main/js/helpers/common-utils.js
+++ b/modules/control-center-web/src/main/js/helpers/common-utils.js
@@ -79,7 +79,7 @@ $commonUtils.hasAtLeastOneProperty = function (obj, props) {
  * @returns {string} Valid java name.
  */
 $commonUtils.toJavaName = function (prefix, name) {
-    var javaName = name ? name.replace(/[^A-Za-z_0-9]+/, '_') : 'dflt';
+    var javaName = name ? name.replace(/[^A-Za-z_0-9]+/g, '_') : 'dflt';
 
     return prefix + javaName.charAt(0).toLocaleUpperCase() + javaName.slice(1);
 };


Mime
View raw message