Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update d3.js #441

Merged
merged 1 commit into from
Jan 3, 2017
Merged

Update d3.js #441

merged 1 commit into from
Jan 3, 2017

Conversation

hetz
Copy link
Contributor

@hetz hetz commented Dec 19, 2016

when I use gulp-uglify, get this message: Unexpected character '`''

I find my fileName: '/Users/htz/WebstormProjects/wt-mobile/www-prod/view/m/static/dist/m-build.js',goto lineNumber: 56315,
that look like require include exGantt.md ?

/* 227 */
/***/ function(module, exports) {

	```
	gantt
	    dateFormat yyyy-mm-dd
	    title Adding gantt diagram functionality to mermaid

so when I remove change /mermaid/src/d3.js

if (require) {

everythiny is finel.

{ Error
at new JS_Parse_Error (eval at (/Users/htz/WebstormProjects/wt-mobile/node_modules/gulp-uglify/node_modules/uglify-js/tools/node.js:1:0), :1534:18)
at js_error (eval at (/Users/htz/WebstormProjects/wt-mobile/node_modules/gulp-uglify/node_modules/uglify-js/tools/node.js:1:0), :1542:11)
at parse_error (eval at (/Users/htz/WebstormProjects/wt-mobile/node_modules/gulp-uglify/node_modules/uglify-js/tools/node.js:1:0), :1667:9)
message: '/Users/htz/WebstormProjects/wt-mobile/www-prod/view/m/static/dist/m-build.js: Unexpected character '`'',
fileName: '/Users/htz/WebstormProjects/wt-mobile/www-prod/view/m/static/dist/m-build.js',
lineNumber: 56315,
stack: 'Error\n at new JS_Parse_Error (eval at (/Users/htz/WebstormProjects/wt-mobile/node_modules/gulp-uglify/node_modules/uglify-js/tools/node.js:1:0), :1534:18)\n at js_error (eval at (/Users/htz/WebstormProjects/wt-mobile/node_modules/gulp-uglify/node_modules/uglify-js/tools/node.js:1:0), :1542:11)\n at parse_error (eval at (/Users/htz/WebstormProjects/wt-mobile/node_modules/gulp-uglify/node_modules/uglify-js/tools/node.js:1:0), :1667:9)\n at Object.next_token [as input] (eval at (/Users/htz/WebstormProjects/wt-mobile/node_modules/gulp-uglify/node_modules/uglify-js/tools/node.js:1:0), :1946:9)\n at next (eval at (/Users/htz/WebstormProjects/wt-mobile/node_modules/gulp-uglify/node_modules/uglify-js/tools/node.js:1:0), :2075:25)\n at expect_token (eval at (/Users/htz/WebstormProjects/wt-mobile/node_modules/gulp-uglify/node_modules/uglify-js/tools/node.js:1:0), :2108:20)\n at expect (eval at (/Users/htz/WebstormProjects/wt-mobile/node_modules/gulp-uglify/node_modules/uglify-js/tools/node.js:1:0), :2113:36)\n at block_ (eval at (/Users/htz/WebstormProjects/wt-mobile/node_modules/gulp-uglify/node_modules/uglify-js/tools/node.js:1:0), :2425:9)\n at eval (eval at (/Users/htz/WebstormProjects/wt-mobile/node_modules/gulp-uglify/node_modules/uglify-js/tools/node.js:1:0), :2401:25)\n at function_ (eval at (/Users/htz/WebstormProjects/wt-mobile/node_modules/gulp-uglify/node_modules/uglify-js/tools/node.js:1:0), :2407:15)',
showStack: false,
showProperties: true,
plugin: 'gulp-uglify'
}

fix gulp-uglify error.
@knsv
Copy link
Collaborator

knsv commented Jan 3, 2017

Thanks, missed this one! Merging.

@knsv knsv merged commit 1903154 into mermaid-js:master Jan 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants