UNPKG

950 BJavaScriptView Raw
1"use strict";
2var snabbdom_1 = require("./snabbdom");
3var attributes_1 = require("./modules/attributes"); // for setting attributes on DOM elements
4var class_1 = require("./modules/class"); // makes it easy to toggle classes
5var props_1 = require("./modules/props"); // for setting properties on DOM elements
6var style_1 = require("./modules/style"); // handles styling on elements with support for animations
7var eventlisteners_1 = require("./modules/eventlisteners"); // attaches event listeners
8var h_1 = require("./h"); // helper function for creating vnodes
9var patch = snabbdom_1.init([
10 attributes_1.attributesModule,
11 class_1.classModule,
12 props_1.propsModule,
13 style_1.styleModule,
14 eventlisteners_1.eventListenersModule
15]);
16exports.snabbdomBundle = { patch: patch, h: h_1.h };
17Object.defineProperty(exports, "__esModule", { value: true });
18exports.default = exports.snabbdomBundle;
19//# sourceMappingURL=snabbdom.bundle.js.map
\No newline at end of file