diff --git a/ext/simple/init.js b/ext/simple/init.js
new file mode 100644
index 0000000000..51b8d748ce
--- /dev/null
+++ b/ext/simple/init.js
@@ -0,0 +1,29 @@
+
+(function(window, document, ionic) {
+
+ ionic.simple = {
+
+
+
+ };
+
+ function initalize() {
+ // remove the ready listeners
+ document.removeEventListener( "DOMContentLoaded", initalize, false );
+ window.removeEventListener( "load", initalize, false );
+
+ // trigger that the DOM is ready
+ ionic.trigger("domready");
+ }
+
+ // When the DOM is ready, initalize the webapp
+ if ( document.readyState === "complete" ) {
+ // DOM is already ready
+ setTimeout( initalize );
+ } else {
+ // DOM isn't ready yet, add event listeners
+ document.addEventListener( "DOMContentLoaded", initalize, false );
+ window.addEventListener( "load", initalize, false );
+ }
+
+})(this, document, ionic);
\ No newline at end of file
diff --git a/ext/simple/toggle.js b/ext/simple/toggle.js
new file mode 100644
index 0000000000..411c90b885
--- /dev/null
+++ b/ext/simple/toggle.js
@@ -0,0 +1,16 @@
+
+(function(window, document, ionic) {
+
+ function initalize() {
+
+ ionic.on("swipe", swipe, document.body)
+
+ }
+
+ function swipe(e) {
+ alert(e.target.tagName)
+ }
+
+ ionic.on("domready", initalize);
+
+})(window, document, ionic);
\ No newline at end of file
diff --git a/test/input-toggle.html b/test/input-toggle.html
index 81f1bedfc0..4451d28b07 100644
--- a/test/input-toggle.html
+++ b/test/input-toggle.html
@@ -24,7 +24,7 @@
@@ -33,7 +33,7 @@