Last active
February 3, 2016 13:23
-
-
Save qfox/46776b729f058aad3858 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nodeConfig.addTechs([ | |
[require('enb-define'), { | |
target: '?.fullofconsoles.js', | |
sources: ['?.js'], | |
variables: { | |
ISLDEBUG: '*/!/*' | |
}, | |
sourcemap: true | |
}] | |
]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/common.blocks/auth/auth.js b/common.blocks/auth/auth.js | |
index 5fe901e..6a4485e 100644 | |
--- a/common.blocks/auth/auth.js | |
+++ b/common.blocks/auth/auth.js | |
@@ -416,10 +416,10 @@ BEM.DOM.decl('auth', { | |
* istanbul ignore next | |
*/ | |
_getRetpath: function() { | |
- console.assert(false, [ | |
+ (0/*%%%ISLDEBUG%%%*/&&console.assert(false, [ | |
'Статический метод _getRetpath устарел.', | |
'Используйте метод прототипа getRetpath.' | |
- ].join(' ')); | |
+ ].join(' '))); | |
return BEM.blocks['i-global'].param('retpath'); | |
}, | |
@@ -440,10 +440,10 @@ BEM.DOM.decl('auth', { | |
* istanbul ignore next | |
*/ | |
_getPassportURL: function(mode) { | |
- console.assert(false, [ | |
+ (0/*%%%ISLDEBUG%%%*/&&console.assert(false, [ | |
'Статический метод _getPassportURL устарел.', | |
'Вместо него применяется одноименный метод прототипа.' | |
- ].join(' ')); | |
+ ].join(' '))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment