summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrent Richardson <trentdrichardson@gmail.com>2013-12-12 10:16:32 -0500
committerTrent Richardson <trentdrichardson@gmail.com>2013-12-12 10:16:32 -0500
commit52189a8ad2e91a70dd2b90b4457f1eed2aa895c4 (patch)
treea207646c413430da00feda3631aea2675e2f4981
parentcf11a96676a422b840fbf0cb4bbc91200ae06c11 (diff)
downloadjQuery-Impromptu-52189a8ad2e91a70dd2b90b4457f1eed2aa895c4.zip
jQuery-Impromptu-52189a8ad2e91a70dd2b90b4457f1eed2aa895c4.tar.gz
jQuery-Impromptu-52189a8ad2e91a70dd2b90b4457f1eed2aa895c4.tar.bz2
removes testing code
-rw-r--r--dist/index.html14
-rw-r--r--src/index.html14
2 files changed, 0 insertions, 28 deletions
diff --git a/dist/index.html b/dist/index.html
index 81eaef9..4b7d3b0 100644
--- a/dist/index.html
+++ b/dist/index.html
@@ -425,7 +425,6 @@ $.prompt(statesdemo);</pre>
$.prompt.close();
}
},
- /*
state1: {
html:'Are you sure?',
buttons: { No: -1, Yes: 0 },
@@ -438,19 +437,6 @@ $.prompt(statesdemo);</pre>
$.prompt.goToState('state0');
}
},
- */
- state1: {
- html:'Are you sure? &lt;input type="text" name="email" /&gt;',
- buttons: { No: -1, Yes: 0 },
- focus: "input[name='email']",
- submit:function(e,v,m,f){
- e.preventDefault();
- if(v==0)
- $.prompt.goToState('state2');
- else if(v==-1)
- $.prompt.goToState('state0');
- }
- },
state2: {
title: "You're Done!",
html: "Congratulations, you've finished this example!",
diff --git a/src/index.html b/src/index.html
index 74f4d88..7dd9560 100644
--- a/src/index.html
+++ b/src/index.html
@@ -425,7 +425,6 @@ $.prompt(statesdemo);</pre>
$.prompt.close();
}
},
- /*
state1: {
html:'Are you sure?',
buttons: { No: -1, Yes: 0 },
@@ -438,19 +437,6 @@ $.prompt(statesdemo);</pre>
$.prompt.goToState('state0');
}
},
- */
- state1: {
- html:'Are you sure? &lt;input type="text" name="email" /&gt;',
- buttons: { No: -1, Yes: 0 },
- focus: "input[name='email']",
- submit:function(e,v,m,f){
- e.preventDefault();
- if(v==0)
- $.prompt.goToState('state2');
- else if(v==-1)
- $.prompt.goToState('state0');
- }
- },
state2: {
title: "You're Done!",
html: "Congratulations, you've finished this example!",