Skip to content

Commit cd609b1

Browse files
committed
make version constant placeholder more verbose
1 parent 9e0a8d1 commit cd609b1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/core/constants.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ const _PI = Math.PI;
1111
* @property {String} VERSION
1212
* @final
1313
*/
14-
export const VERSION = 'VERSIONCONST';
14+
export const VERSION =
15+
'VERSION_CONST_WILL_BE_REPLACED_BY_BROWSERIFY_BUILD_PROCESS';
1516

1617
// GRAPHICS RENDERER
1718
/**

tasks/build/browserify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ module.exports = function(grunt) {
7979
})
8080
.on('end', function() {
8181
code = code.replace(
82-
`'VERSIONCONST'`,
82+
`'VERSION_CONST_WILL_BE_REPLACED_BY_BROWSERIFY_BUILD_PROCESS'`,
8383
grunt.template.process(`'<%= pkg.version %>'`)
8484
);
8585

0 commit comments

Comments
 (0)