Skip to content

Commit 347ba9b

Browse files
committed
eventCache, eventBubble by declaration
compiler fix
1 parent d00c60a commit 347ba9b

23 files changed

+1135
-1069
lines changed

README.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h1><img src="https://cdn.jsdelivr.net/gh/nextapps-de/mikado@master/doc/mikado-animated.svg?v=1" alt="Mikado - Webs fastest templating engine" width="550px"><p></p></h1>
1+
<h1><img src="https://cdn.jsdelivr.net/gh/nextapps-de/mikado@master/doc/mikado-animated.svg?v=2" alt="Mikado - Webs fastest templating engine" width="550px"><p></p></h1>
22
<h3>Mikado is the webs fastest template engine for building user interfaces. Carefully crafted to get the most out of the browser. Also providing the fastest Express Render Engine of today. Super-lightweight, outstanding performance, no dependencies.</h3>
33

44
<a target="_blank" href="https://www.npmjs.com/package/mikado"><img src="https://img.shields.io/npm/v/mikado.svg"></a>
@@ -55,10 +55,10 @@ Mikado was getting so much positive feedback and also feature requests. Help kee
5555
## Table of contents
5656

5757
Rendering has great **impact** on application performance, especially **on mobile devices**. Mikado takes <a href="#benchmark">templating performance</a> to a new level and provides you **keyed**, **non-keyed** recycling and also **reactive paradigm** switchable out of the box.
58-
On top, it also provides a **server-side-rendering** approach on a top-notch performance level along full support for **hydration** to inject templates progressively within the client's runtime.
58+
Additionally, Mikado provides a **server-side-rendering** approach on a top-notch performance level along full support for **hydration** to inject templates progressively within the client's runtime.
5959
Server and client are sharing the same template definitions simply written in **HTML-like markup**.
6060
The server side approach will also come with the **fastest middleware render engine for Express** you can get today.
61-
Packed with a smart routing feature for event delegation and full support for web components by using the shadow dom, Mikado gives you everything you'll need to build <a href="#concept">realtime applications</a> on a cutting edge performance level.
61+
Packed with a smart routing feature for event delegation and full support for web components by using the Shadow DOM, Mikado gives you everything you'll need to build <a href="#concept">realtime applications</a> on a cutting edge performance level.
6262

6363
1. <a href="#get-latest">Get Latest</a>
6464
2. <a href="#feature-comparison">Feature Comparison: Mikado Light</a>
@@ -149,80 +149,80 @@ Packed with a smart routing feature for event delegation and full support for we
149149
</tr>
150150
<tr>
151151
<td>mikado.bundle.debug.js</td>
152-
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.3/dist/mikado.bundle.debug.js" target="_blank">Download</a></td>
153-
<td><a href="https://rawcdn.githack.com/nextapps-de/mikado/0.8.3/dist/mikado.bundle.debug.js" target="_blank">https://rawcdn.githack.com/nextapps-de/mikado/0.8.3/dist/mikado.bundle.debug.js</a></td>
152+
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.4/dist/mikado.bundle.debug.js" target="_blank">Download</a></td>
153+
<td><a href="https://rawcdn.githack.com/nextapps-de/mikado/0.8.4/dist/mikado.bundle.debug.js" target="_blank">https://rawcdn.githack.com/nextapps-de/mikado/0.8.4/dist/mikado.bundle.debug.js</a></td>
154154
</tr>
155155
<tr></tr>
156156
<tr>
157157
<td>mikado.bundle.min.js</td>
158-
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.3/dist/mikado.bundle.min.js" target="_blank">Download</a></td>
159-
<td><a href="https://rawcdn.githack.com/nextapps-de/mikado/0.8.3/dist/mikado.bundle.min.js" target="_blank">https://rawcdn.githack.com/nextapps-de/mikado/0.8.3/dist/mikado.bundle.min.js</a></td>
158+
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.4/dist/mikado.bundle.min.js" target="_blank">Download</a></td>
159+
<td><a href="https://rawcdn.githack.com/nextapps-de/mikado/0.8.4/dist/mikado.bundle.min.js" target="_blank">https://rawcdn.githack.com/nextapps-de/mikado/0.8.4/dist/mikado.bundle.min.js</a></td>
160160
</tr>
161161
<tr></tr>
162162
<tr>
163163
<td>mikado.bundle.module.debug.js</td>
164-
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.3/dist/mikado.bundle.module.debug.js" target="_blank">Download</a></td>
165-
<td><a href="https://rawcdn.githack.com/nextapps-de/mikado/0.8.3/dist/mikado.bundle.module.debug.js" target="_blank">https://rawcdn.githack.com/nextapps-de/mikado/0.8.3/dist/mikado.bundle.module.debug.js</a></td>
164+
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.4/dist/mikado.bundle.module.debug.js" target="_blank">Download</a></td>
165+
<td><a href="https://rawcdn.githack.com/nextapps-de/mikado/0.8.4/dist/mikado.bundle.module.debug.js" target="_blank">https://rawcdn.githack.com/nextapps-de/mikado/0.8.4/dist/mikado.bundle.module.debug.js</a></td>
166166
</tr>
167167
<tr></tr>
168168
<tr>
169169
<td>mikado.bundle.module.min.js</td>
170-
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.3/dist/mikado.bundle.module.min.js" target="_blank">Download</a></td>
171-
<td><a href="https://rawcdn.githack.com/nextapps-de/mikado/0.8.3/dist/mikado.bundle.module.min.js" target="_blank">https://rawcdn.githack.com/nextapps-de/mikado/0.8.3/dist/mikado.bundle.module.min.js</a></td>
170+
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.4/dist/mikado.bundle.module.min.js" target="_blank">Download</a></td>
171+
<td><a href="https://rawcdn.githack.com/nextapps-de/mikado/0.8.4/dist/mikado.bundle.module.min.js" target="_blank">https://rawcdn.githack.com/nextapps-de/mikado/0.8.4/dist/mikado.bundle.module.min.js</a></td>
172172
</tr>
173173
<tr></tr>
174174
<tr>
175175
<td>mikado.es5.debug.js</td>
176-
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.3/dist/mikado.es5.debug.js" target="_blank">Download</a></td>
177-
<td><a href="https://rawcdn.githack.com/nextapps-de/mikado/0.8.3/dist/mikado.es5.debug.js" target="_blank">https://rawcdn.githack.com/nextapps-de/mikado/0.8.3/dist/mikado.es5.debug.js</a></td>
176+
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.4/dist/mikado.es5.debug.js" target="_blank">Download</a></td>
177+
<td><a href="https://rawcdn.githack.com/nextapps-de/mikado/0.8.4/dist/mikado.es5.debug.js" target="_blank">https://rawcdn.githack.com/nextapps-de/mikado/0.8.4/dist/mikado.es5.debug.js</a></td>
178178
</tr>
179179
<tr></tr>
180180
<tr>
181181
<td>mikado.es5.min.js</td>
182-
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.3/dist/mikado.es5.min.js" target="_blank">Download</a></td>
183-
<td><a href="https://rawcdn.githack.com/nextapps-de/mikado/0.8.3/dist/mikado.es5.min.js" target="_blank">https://rawcdn.githack.com/nextapps-de/mikado/0.8.3/dist/mikado.es5.min.js</a></td>
182+
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.4/dist/mikado.es5.min.js" target="_blank">Download</a></td>
183+
<td><a href="https://rawcdn.githack.com/nextapps-de/mikado/0.8.4/dist/mikado.es5.min.js" target="_blank">https://rawcdn.githack.com/nextapps-de/mikado/0.8.4/dist/mikado.es5.min.js</a></td>
184184
</tr>
185185
<tr></tr>
186186
<tr>
187187
<td>mikado.light.debug.js</td>
188-
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.3/dist/mikado.light.debug.js" target="_blank">Download</a></td>
189-
<td><a href="https://rawcdn.githack.com/nextapps-de/mikado/0.8.3/dist/mikado.light.debug.js" target="_blank">https://rawcdn.githack.com/nextapps-de/mikado/0.8.3/dist/mikado.light.debug.js</a></td>
188+
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.4/dist/mikado.light.debug.js" target="_blank">Download</a></td>
189+
<td><a href="https://rawcdn.githack.com/nextapps-de/mikado/0.8.4/dist/mikado.light.debug.js" target="_blank">https://rawcdn.githack.com/nextapps-de/mikado/0.8.4/dist/mikado.light.debug.js</a></td>
190190
</tr>
191191
<tr></tr>
192192
<tr>
193193
<td>mikado.light.min.js</td>
194-
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.3/dist/mikado.light.min.js" target="_blank">Download</a></td>
195-
<td><a href="https://rawcdn.githack.com/nextapps-de/mikado/0.8.3/dist/mikado.light.min.js" target="_blank">https://rawcdn.githack.com/nextapps-de/mikado/0.8.3/dist/mikado.light.min.js</a></td>
194+
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.4/dist/mikado.light.min.js" target="_blank">Download</a></td>
195+
<td><a href="https://rawcdn.githack.com/nextapps-de/mikado/0.8.4/dist/mikado.light.min.js" target="_blank">https://rawcdn.githack.com/nextapps-de/mikado/0.8.4/dist/mikado.light.min.js</a></td>
196196
</tr>
197197
<tr></tr>
198198
<tr>
199199
<td>mikado.light.module.debug.js</td>
200-
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.3/dist/mikado.light.module.debug.js" target="_blank">Download</a></td>
201-
<td><a href="https://rawcdn.githack.com/nextapps-de/mikado/0.8.3/dist/mikado.light.module.debug.js" target="_blank">https://rawcdn.githack.com/nextapps-de/mikado/0.8.3/dist/mikado.light.module.debug.js</a></td>
200+
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.4/dist/mikado.light.module.debug.js" target="_blank">Download</a></td>
201+
<td><a href="https://rawcdn.githack.com/nextapps-de/mikado/0.8.4/dist/mikado.light.module.debug.js" target="_blank">https://rawcdn.githack.com/nextapps-de/mikado/0.8.4/dist/mikado.light.module.debug.js</a></td>
202202
</tr>
203203
<tr></tr>
204204
<tr>
205205
<td>mikado.light.module.min.js</td>
206-
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.3/dist/mikado.light.module.min.js" target="_blank">Download</a></td>
207-
<td><a href="https://rawcdn.githack.com/nextapps-de/mikado/0.8.3/dist/mikado.light.module.min.js" target="_blank">https://rawcdn.githack.com/nextapps-de/mikado/0.8.3/dist/mikado.light.module.min.js</a></td>
206+
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.4/dist/mikado.light.module.min.js" target="_blank">Download</a></td>
207+
<td><a href="https://rawcdn.githack.com/nextapps-de/mikado/0.8.4/dist/mikado.light.module.min.js" target="_blank">https://rawcdn.githack.com/nextapps-de/mikado/0.8.4/dist/mikado.light.module.min.js</a></td>
208208
</tr>
209209
<tr></tr>
210210
<tr>
211211
<td>Javascript Modules</td>
212-
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.3/dist/module/" target="_blank">Download</a></td>
213-
<td><a href="https://github.com/nextapps-de/mikado/tree/0.8.3/dist/module" target="_blank">https://github.com/nextapps-de/mikado/tree/0.8.3/dist/module</a></td>
212+
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.4/dist/module/" target="_blank">Download</a></td>
213+
<td><a href="https://github.com/nextapps-de/mikado/tree/0.8.4/dist/module" target="_blank">https://github.com/nextapps-de/mikado/tree/0.8.4/dist/module</a></td>
214214
</tr>
215215
<tr></tr>
216216
<tr>
217217
<td>Javascript Modules (Minified)</td>
218-
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.3/dist/module-min/" target="_blank">Download</a></td>
219-
<td><a href="https://github.com/nextapps-de/mikado/tree/0.8.3/dist/module-min" target="_blank">https://github.com/nextapps-de/mikado/tree/0.8.3/dist/module-min</a></td>
218+
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.4/dist/module-min/" target="_blank">Download</a></td>
219+
<td><a href="https://github.com/nextapps-de/mikado/tree/0.8.4/dist/module-min" target="_blank">https://github.com/nextapps-de/mikado/tree/0.8.4/dist/module-min</a></td>
220220
</tr>
221221
<tr></tr>
222222
<tr>
223223
<td>Javascript Modules (Debug)</td>
224-
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.3/dist/module-debug/" target="_blank">Download</a></td>
225-
<td><a href="https://github.com/nextapps-de/mikado/tree/0.8.3/dist/module-debug" target="_blank">https://github.com/nextapps-de/mikado/tree/0.8.3/dist/module-debug</a></td>
224+
<td><a href="https://github.com/nextapps-de/mikado/raw/0.8.4/dist/module-debug/" target="_blank">Download</a></td>
225+
<td><a href="https://github.com/nextapps-de/mikado/tree/0.8.4/dist/module-debug" target="_blank">https://github.com/nextapps-de/mikado/tree/0.8.4/dist/module-debug</a></td>
226226
</tr>
227227
<tr></tr>
228228
<tr>
@@ -300,7 +300,7 @@ You can also load modules via CDN:
300300

301301
```html
302302
<script type="module">
303-
import Mikado from "https://unpkg.com/[email protected].304/dist/module/mikado.js";
303+
import Mikado from "https://unpkg.com/[email protected].404/dist/module/mikado.js";
304304
</script>
305305
```
306306

compiler/compile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ function prepare_template(nodes, src, csr, svg){
605605

606606
if(typeof child.style === "object"){
607607

608-
child.style = child.style.join("");
608+
child.style = child.style.join(" ").replace(/;\s+/g, ";");
609609
}
610610

611611
child.style = child.style.replace(/\/\*(.*?)\*\//, "").trim();

0 commit comments

Comments
 (0)