summaryrefslogtreecommitdiff
path: root/javascripts
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2010-08-17 16:25:40 +0200
committerPatrick Simianer <p@simianer.de>2010-08-17 16:25:40 +0200
commit7389294e858981c8de13de22f78623349f713e45 (patch)
tree6ac7e1433b1f78d53349f325a322b8d67e92c5a0 /javascripts
parentc272506529ea5fde9352a600417b2eaa6a230a6a (diff)
minor nmodifications, webkit compatibility
Diffstat (limited to 'javascripts')
-rw-r--r--javascripts/Nfa2Dfa.js2
-rw-r--r--[-rwxr-xr-x]javascripts/lib/jquery-ui.js0
-rw-r--r--javascripts/ui.js2
3 files changed, 2 insertions, 2 deletions
diff --git a/javascripts/Nfa2Dfa.js b/javascripts/Nfa2Dfa.js
index a29683e..a8132fc 100644
--- a/javascripts/Nfa2Dfa.js
+++ b/javascripts/Nfa2Dfa.js
@@ -32,7 +32,7 @@ Nfa2Dfa.prototype.getStartState = function() { return this.startState; };
Nfa2Dfa.prototype.getFinalState = function() { return this.finalState; };
// Do conversion.
-Nfa2Dfa.prototype.do = function() {
+Nfa2Dfa.prototype.convert = function() {
var dfaStates = new Stack();
var q = new Stack();
q.push(this.getStartState());
diff --git a/javascripts/lib/jquery-ui.js b/javascripts/lib/jquery-ui.js
index c959703..c959703 100755..100644
--- a/javascripts/lib/jquery-ui.js
+++ b/javascripts/lib/jquery-ui.js
diff --git a/javascripts/ui.js b/javascripts/ui.js
index 31a3cfa..d84bf1a 100644
--- a/javascripts/ui.js
+++ b/javascripts/ui.js
@@ -122,7 +122,7 @@ function uiParse() {
$('#regex').addClass('success');
enable('#word');
var dfa = new Nfa2Dfa(nfa);
- var ttable = dfa.do();
+ var ttable = dfa.convert();
disable('#regex');
disable('#parseButton');
if(!graphit) return;