Support for åäö and minus in text

This commit is contained in:
knsv
2014-11-12 07:35:44 +01:00
parent d158a13566
commit e7cb84b1d9
13 changed files with 3134 additions and 37 deletions

22
src/parser/flow.spec.js Normal file
View File

@@ -0,0 +1,22 @@
/**
* Created by knut on 14-11-03.
*/
define('parser/flow.spec',['parser/graph','parser/flow'],function(graph, p){
describe('when parsing ',function(){
beforeEach(function(){
graph.clear();
p.yy = graph;
/*p.parse.parseError= function parseError(str, hash) {
console.log(str);
}*/
});
it('should handle a nodes and edges',function(){
var res = p.parse('apa-apa-åäö');
console.log('Done parsing:' + res);
});
});
});