From d28aebe0d66b166b93275ea047e0509e80fad318 Mon Sep 17 00:00:00 2001 From: Youness Belfkih Date: Fri, 26 Feb 2016 13:32:42 +0000 Subject: [PATCH 1/3] Added preventDefault and stopPropagation to events --- src/core.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core.js b/src/core.js index 951285b..e142ca3 100644 --- a/src/core.js +++ b/src/core.js @@ -205,6 +205,10 @@ if (!skipProps[z]) writeProperty(z, event, base, desc); } event.baseEvent = base; + // https://developer.mozilla.org/en/docs/Web/API/Event/preventDefault + event.preventDefault = base.preventDefault.bind( base ); + // https://developer.mozilla.org/en/docs/Web/API/Event/stopPropagation + event.stopPropaggation = base.preventDefault.bind( base ); } // Accessors From ea6c1cf8dbb4bff6ff2ee930aae24e13b85fd5d9 Mon Sep 17 00:00:00 2001 From: Youness Belfkih Date: Fri, 26 Feb 2016 13:54:57 +0000 Subject: [PATCH 2/3] Create core.ts --- src/core.ts | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/core.ts diff --git a/src/core.ts b/src/core.ts new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/core.ts @@ -0,0 +1 @@ + From 937e651167078ee7dd37a2e2f61efc3295630241 Mon Sep 17 00:00:00 2001 From: Youness Belfkih Date: Fri, 25 Mar 2016 20:06:23 +0000 Subject: [PATCH 3/3] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 88c5901..724402a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ +===== +:warning: TODO(xooxdoo): move xtag.component to seperate repo if xtag is just a dependancy +===== + # X-Tag - Rocket fuel for component development [![Bower version](https://badge.fury.io/bo/x-tag-core.svg)](http://badge.fury.io/bo/x-tag-core)