Exposing parser in API as requested in issue #21

This commit is contained in:
knsv 2014-12-03 18:12:33 +01:00
parent c0e2c86fd8
commit 1e53b588fc
6 changed files with 15 additions and 5 deletions

View File

@ -13349,6 +13349,9 @@ global.mermaid = {
},
version:function(){
return exports.version();
},
getParser:function(){
return flow.parser;
}
};
}).call(this,typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})

File diff suppressed because one or more lines are too long

View File

@ -13317,6 +13317,9 @@ global.mermaid = {
},
version:function(){
return exports.version();
},
getParser:function(){
return flow.parser;
}
};
}).call(this,typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})

File diff suppressed because one or more lines are too long

View File

@ -18,6 +18,7 @@
},
"devDependencies": {
"browserify": "~6.2.0",
"codeclimate-test-reporter": "0.0.4",
"d3": "~3.4.13",
"dagre-d3": "~0.3.2",
"gulp": "~3.8.9",
@ -27,6 +28,7 @@
"gulp-istanbul": "^0.4.0",
"gulp-jasmine": "~1.0.1",
"gulp-jison": "~1.0.0",
"gulp-less": "^1.3.6",
"gulp-rename": "~1.2.0",
"gulp-shell": "^0.2.10",
"gulp-uglify": "~1.0.1",
@ -46,8 +48,7 @@
"lodash.templatesettings": "^2.4.1",
"lodash.values": "^2.4.1",
"mock-browser": "^0.90.27",
"rewire": "^2.1.3",
"gulp-less": "^1.3.6",
"path": "^0.4.9"
"path": "^0.4.9",
"rewire": "^2.1.3"
}
}

View File

@ -347,5 +347,8 @@ global.mermaid = {
},
version:function(){
return exports.version();
},
getParser:function(){
return flow.parser;
}
};