diff --git a/src/Web/HTML.js b/src/Web/HTML.js
index b24a3e4..09f5838 100644
--- a/src/Web/HTML.js
+++ b/src/Web/HTML.js
@@ -1,5 +1,5 @@
"use strict";
-exports.window = function () {
+export function window() {
return window;
-};
+}
diff --git a/src/Web/HTML/Event/BeforeUnloadEvent.js b/src/Web/HTML/Event/BeforeUnloadEvent.js
index 1fc2dbf..7b0309d 100644
--- a/src/Web/HTML/Event/BeforeUnloadEvent.js
+++ b/src/Web/HTML/Event/BeforeUnloadEvent.js
@@ -1,15 +1,15 @@
"use strict";
-exports.returnValue = function (e) {
+export function returnValue(e) {
return function () {
return e.returnValue;
};
-};
+}
-exports.setReturnValue = function (v) {
+export function setReturnValue(v) {
return function (e) {
return function () {
e.returnValue = v;
};
};
-};
+}
diff --git a/src/Web/HTML/Event/DataTransfer.js b/src/Web/HTML/Event/DataTransfer.js
index f5ffb55..240313d 100644
--- a/src/Web/HTML/Event/DataTransfer.js
+++ b/src/Web/HTML/Event/DataTransfer.js
@@ -1,26 +1,26 @@
"use strict";
-exports._files = function (dataTransfer) {
+export function _files(dataTransfer) {
return dataTransfer.files;
-};
+}
-exports.items = function (dataTransfer) {
+export function items(dataTransfer) {
return dataTransfer.items;
-};
+}
-exports.types = function (dataTransfer) {
+export function types(dataTransfer) {
return dataTransfer.types;
-};
+}
-exports._getData = function (format) {
+export function _getData(format) {
return function (dataTransfer) {
return function () {
return dataTransfer.getData(format);
};
};
-};
+}
-exports._setData = function (format) {
+export function _setData(format) {
return function (data) {
return function (dataTransfer) {
return function () {
@@ -28,9 +28,9 @@ exports._setData = function (format) {
};
};
};
-};
+}
-exports._setDragImage = function (dataTransfer) {
+export function _setDragImage(dataTransfer) {
return function (image) {
return function (x) {
return function (y) {
@@ -40,18 +40,18 @@ exports._setDragImage = function (dataTransfer) {
};
};
};
-};
+}
-exports._dropEffect = function (dataTransfer) {
+export function _dropEffect(dataTransfer) {
return function () {
return dataTransfer.dropEffect;
};
-};
+}
-exports._setDropEffect = function (e) {
+export function _setDropEffect(e) {
return function (dataTransfer) {
return function () {
dataTransfer.dropEffect = e;
};
};
-};
+}
diff --git a/src/Web/HTML/Event/DataTransfer/DataTransferItem.js b/src/Web/HTML/Event/DataTransfer/DataTransferItem.js
index dd10c49..1d54847 100644
--- a/src/Web/HTML/Event/DataTransfer/DataTransferItem.js
+++ b/src/Web/HTML/Event/DataTransfer/DataTransferItem.js
@@ -1,6 +1,6 @@
"use strict";
-exports._kind = function (nothing, just, text, file, dataTransferItem) {
+export function _kind(nothing, just, text, file, dataTransferItem) {
if (dataTransferItem.kind === "string") {
return just(text);
} else if (dataTransferItem.kind === "file") {
@@ -8,18 +8,18 @@ exports._kind = function (nothing, just, text, file, dataTransferItem) {
} else {
return nothing;
}
-};
+}
-exports.type_ = function (dataTransferItem) {
+export function type_(dataTransferItem) {
return dataTransferItem.type;
-};
+}
-exports._dataTransferItem = function (index) {
+export function _dataTransferItem(index) {
return function (dataTransferItemList) {
return dataTransferItemList[index];
};
-};
+}
-exports._length = function (dataTransferItemList) {
+export function _length(dataTransferItemList) {
return dataTransferItemList.length;
-};
+}
diff --git a/src/Web/HTML/Event/DragEvent.js b/src/Web/HTML/Event/DragEvent.js
index 6135178..9764516 100644
--- a/src/Web/HTML/Event/DragEvent.js
+++ b/src/Web/HTML/Event/DragEvent.js
@@ -1,5 +1,5 @@
"use strict";
-exports.dataTransfer = function (e) {
+export function dataTransfer(e) {
return e.dataTransfer;
-};
+}
diff --git a/src/Web/HTML/Event/ErrorEvent.js b/src/Web/HTML/Event/ErrorEvent.js
index 4fb4ec5..dc4bc40 100644
--- a/src/Web/HTML/Event/ErrorEvent.js
+++ b/src/Web/HTML/Event/ErrorEvent.js
@@ -1,17 +1,17 @@
"use strict";
-exports.message = function (e) {
+export function message(e) {
return e.message;
-};
+}
-exports.fileName = function (e) {
+export function fileName(e) {
return e.filename;
-};
+}
-exports.lineNo = function (e) {
+export function lineNo(e) {
return e.lineno;
-};
+}
-exports.colNo = function (e) {
+export function colNo(e) {
return e.colno;
-};
+}
diff --git a/src/Web/HTML/Event/HashChangeEvent.js b/src/Web/HTML/Event/HashChangeEvent.js
index 9619f7c..87b690a 100644
--- a/src/Web/HTML/Event/HashChangeEvent.js
+++ b/src/Web/HTML/Event/HashChangeEvent.js
@@ -1,9 +1,9 @@
"use strict";
-exports.oldURL = function (e) {
+export function oldURL(e) {
return e.oldURL;
-};
+}
-exports.newURL = function (e) {
+export function newURL(e) {
return e.newURL;
-};
+}
diff --git a/src/Web/HTML/Event/PageTransitionEvent.js b/src/Web/HTML/Event/PageTransitionEvent.js
index c2d0c44..de58fe6 100644
--- a/src/Web/HTML/Event/PageTransitionEvent.js
+++ b/src/Web/HTML/Event/PageTransitionEvent.js
@@ -1,5 +1,5 @@
"use strict";
-exports.persisted = function (e) {
+export function persisted(e) {
return e.persisted;
-};
+}
diff --git a/src/Web/HTML/Event/PopStateEvent.js b/src/Web/HTML/Event/PopStateEvent.js
index 95adcc4..820488e 100644
--- a/src/Web/HTML/Event/PopStateEvent.js
+++ b/src/Web/HTML/Event/PopStateEvent.js
@@ -1,5 +1,5 @@
"use strict";
-exports.state = function (e) {
+export function state(e) {
return e.state;
-};
+}
diff --git a/src/Web/HTML/HTMLAnchorElement.js b/src/Web/HTML/HTMLAnchorElement.js
index bddef8f..c400818 100644
--- a/src/Web/HTML/HTMLAnchorElement.js
+++ b/src/Web/HTML/HTMLAnchorElement.js
@@ -1,119 +1,119 @@
"use strict";
-exports.target = function (a) {
+export function target(a) {
return function () {
return a.target;
};
-};
+}
-exports.setTarget = function (target) {
+export function setTarget(target) {
return function (a) {
return function () {
a.target = target;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.download = function (a) {
+export function download(a) {
return function () {
return a.download;
};
-};
+}
-exports.setDownload = function (download) {
+export function setDownload(download) {
return function (a) {
return function () {
a.download = download;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.rel = function (a) {
+export function rel(a) {
return function () {
return a.rel;
};
-};
+}
-exports.setRel = function (rel) {
+export function setRel(rel) {
return function (a) {
return function () {
a.rel = rel;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.rev = function (a) {
+export function rev(a) {
return function () {
return a.rev;
};
-};
+}
-exports.setRev = function (rev) {
+export function setRev(rev) {
return function (a) {
return function () {
a.rev = rev;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.relList = function (a) {
+export function relList(a) {
return function () {
return a.relList;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.hreflang = function (a) {
+export function hreflang(a) {
return function () {
return a.hreflang;
};
-};
+}
-exports.setHreflang = function (hreflang) {
+export function setHreflang(hreflang) {
return function (a) {
return function () {
a.hreflang = hreflang;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.type_ = function (a) {
+export function type_(a) {
return function () {
return a.type;
};
-};
+}
-exports.setType = function (type) {
+export function setType(type) {
return function (a) {
return function () {
a.type = type;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.text = function (a) {
+export function text(a) {
return function () {
return a.text;
};
-};
+}
-exports.setText = function (text) {
+export function setText(text) {
return function (a) {
return function () {
a.text = text;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLAreaElement.js b/src/Web/HTML/HTMLAreaElement.js
index 9d7279a..11a835e 100644
--- a/src/Web/HTML/HTMLAreaElement.js
+++ b/src/Web/HTML/HTMLAreaElement.js
@@ -1,135 +1,135 @@
"use strict";
-exports.alt = function (area) {
+export function alt(area) {
return function () {
return area.alt;
};
-};
+}
-exports.setAlt = function (alt) {
+export function setAlt(alt) {
return function (area) {
return function () {
area.alt = alt;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.coords = function (area) {
+export function coords(area) {
return function () {
return area.coords;
};
-};
+}
-exports.setCoords = function (coords) {
+export function setCoords(coords) {
return function (area) {
return function () {
area.coords = coords;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.shape = function (area) {
+export function shape(area) {
return function () {
return area.shape;
};
-};
+}
-exports.setShape = function (shape) {
+export function setShape(shape) {
return function (area) {
return function () {
area.shape = shape;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.target = function (area) {
+export function target(area) {
return function () {
return area.target;
};
-};
+}
-exports.setTarget = function (target) {
+export function setTarget(target) {
return function (area) {
return function () {
area.target = target;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.download = function (area) {
+export function download(area) {
return function () {
return area.download;
};
-};
+}
-exports.setDownload = function (download) {
+export function setDownload(download) {
return function (area) {
return function () {
area.download = download;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.rel = function (area) {
+export function rel(area) {
return function () {
return area.rel;
};
-};
+}
-exports.setRel = function (rel) {
+export function setRel(rel) {
return function (area) {
return function () {
area.rel = rel;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.relList = function (area) {
+export function relList(area) {
return function () {
return area.relList;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.hreflang = function (area) {
+export function hreflang(area) {
return function () {
return area.hreflang;
};
-};
+}
-exports.setHreflang = function (hreflang) {
+export function setHreflang(hreflang) {
return function (area) {
return function () {
area.hreflang = hreflang;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.type_ = function (area) {
+export function type_(area) {
return function () {
return area.type;
};
-};
+}
-exports.setType = function (type) {
+export function setType(type) {
return function (area) {
return function () {
area.type = type;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLAudioElement.js b/src/Web/HTML/HTMLAudioElement.js
index 7741b38..a4ebbfc 100644
--- a/src/Web/HTML/HTMLAudioElement.js
+++ b/src/Web/HTML/HTMLAudioElement.js
@@ -1,11 +1,11 @@
"use strict";
-exports.create = function () {
+export function create() {
return new Audio();
-};
+}
-exports.createWithURL = function (url) {
+export function createWithURL(url) {
return function () {
return new Audio(url);
};
-};
+}
diff --git a/src/Web/HTML/HTMLBaseElement.js b/src/Web/HTML/HTMLBaseElement.js
index 66962ae..3369d3c 100644
--- a/src/Web/HTML/HTMLBaseElement.js
+++ b/src/Web/HTML/HTMLBaseElement.js
@@ -1,31 +1,31 @@
"use strict";
-exports.href = function (base) {
+export function href(base) {
return function () {
return base.href;
};
-};
+}
-exports.setHref = function (href) {
+export function setHref(href) {
return function (base) {
return function () {
base.href = href;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.target = function (base) {
+export function target(base) {
return function () {
return base.target;
};
-};
+}
-exports.setTarget = function (target) {
+export function setTarget(target) {
return function (base) {
return function () {
base.target = target;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLButtonElement.js b/src/Web/HTML/HTMLButtonElement.js
index e586f79..53dd0fb 100644
--- a/src/Web/HTML/HTMLButtonElement.js
+++ b/src/Web/HTML/HTMLButtonElement.js
@@ -1,225 +1,225 @@
"use strict";
-exports.autofocus = function (button) {
+export function autofocus(button) {
return function () {
return button.autofocus;
};
-};
+}
-exports.setAutofocus = function (autofocus) {
+export function setAutofocus(autofocus) {
return function (button) {
return function () {
button.autofocus = autofocus;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.disabled = function (button) {
+export function disabled(button) {
return function () {
return button.disabled;
};
-};
+}
-exports.setDisabled = function (disabled) {
+export function setDisabled(disabled) {
return function (button) {
return function () {
button.disabled = disabled;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports._form = function (button) {
+export function _form(button) {
return function () {
return button.form;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.formAction = function (button) {
+export function formAction(button) {
return function () {
return button.formAction;
};
-};
+}
-exports.setFormAction = function (formAction) {
+export function setFormAction(formAction) {
return function (button) {
return function () {
button.formAction = formAction;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.formEnctype = function (button) {
+export function formEnctype(button) {
return function () {
return button.formEnctype;
};
-};
+}
-exports.setFormEnctype = function (formEnctype) {
+export function setFormEnctype(formEnctype) {
return function (button) {
return function () {
button.formEnctype = formEnctype;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.formMethod = function (button) {
+export function formMethod(button) {
return function () {
return button.formMethod;
};
-};
+}
-exports.setFormMethod = function (formMethod) {
+export function setFormMethod(formMethod) {
return function (button) {
return function () {
button.formMethod = formMethod;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.formNoValidate = function (button) {
+export function formNoValidate(button) {
return function () {
return button.formNoValidate;
};
-};
+}
-exports.setFormNoValidate = function (formNoValidate) {
+export function setFormNoValidate(formNoValidate) {
return function (button) {
return function () {
button.formNoValidate = formNoValidate;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.formTarget = function (button) {
+export function formTarget(button) {
return function () {
return button.formTarget;
};
-};
+}
-exports.setFormTarget = function (formTarget) {
+export function setFormTarget(formTarget) {
return function (button) {
return function () {
button.formTarget = formTarget;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.name = function (button) {
+export function name(button) {
return function () {
return button.name;
};
-};
+}
-exports.setName = function (name) {
+export function setName(name) {
return function (button) {
return function () {
button.name = name;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.type_ = function (button) {
+export function type_(button) {
return function () {
return button.type;
};
-};
+}
-exports.setType = function (type) {
+export function setType(type) {
return function (button) {
return function () {
button.type = type;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.value = function (button) {
+export function value(button) {
return function () {
return button.value;
};
-};
+}
-exports.setValue = function (value) {
+export function setValue(value) {
return function (button) {
return function () {
button.value = value;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.willValidate = function (button) {
+export function willValidate(button) {
return function () {
return button.willValidate;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.validity = function (button) {
+export function validity(button) {
return function () {
return button.validity;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.validationMessage = function (button) {
+export function validationMessage(button) {
return function () {
return button.validationMessage;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.checkValidity = function (button) {
+export function checkValidity(button) {
return function () {
return button.checkValidity();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.reportValidity = function (button) {
+export function reportValidity(button) {
return function () {
return button.reportValidity();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.setCustomValidity = function (value) {
+export function setCustomValidity(value) {
return function (button) {
return function () {
button.setCustomValidity(value);
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.labels = function (button) {
+export function labels(button) {
return function () {
return button.labels;
};
-};
+}
diff --git a/src/Web/HTML/HTMLCanvasElement.js b/src/Web/HTML/HTMLCanvasElement.js
index d08abb8..db26409 100644
--- a/src/Web/HTML/HTMLCanvasElement.js
+++ b/src/Web/HTML/HTMLCanvasElement.js
@@ -1,31 +1,31 @@
"use strict";
-exports.width = function (canvas) {
+export function width(canvas) {
return function () {
return canvas.width;
};
-};
+}
-exports.setWidth = function (width) {
+export function setWidth(width) {
return function (canvas) {
return function () {
canvas.width = width;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.height = function (canvas) {
+export function height(canvas) {
return function () {
return canvas.height;
};
-};
+}
-exports.setHeight = function (height) {
+export function setHeight(height) {
return function (canvas) {
return function () {
canvas.height = height;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLDataElement.js b/src/Web/HTML/HTMLDataElement.js
index cf67d59..d4d783c 100644
--- a/src/Web/HTML/HTMLDataElement.js
+++ b/src/Web/HTML/HTMLDataElement.js
@@ -1,15 +1,15 @@
"use strict";
-exports.value = function (data) {
+export function value(data) {
return function () {
return data.value;
};
-};
+}
-exports.setValue = function (value) {
+export function setValue(value) {
return function (data) {
return function () {
data.value = value;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLDataListElement.js b/src/Web/HTML/HTMLDataListElement.js
index baf908f..e82f4eb 100644
--- a/src/Web/HTML/HTMLDataListElement.js
+++ b/src/Web/HTML/HTMLDataListElement.js
@@ -1,7 +1,7 @@
"use strict";
-exports.options = function (dle) {
+export function options(dle) {
return function () {
return dle.options;
};
-};
+}
diff --git a/src/Web/HTML/HTMLDocument.js b/src/Web/HTML/HTMLDocument.js
index d3efb08..62fb7df 100644
--- a/src/Web/HTML/HTMLDocument.js
+++ b/src/Web/HTML/HTMLDocument.js
@@ -1,57 +1,57 @@
"use strict";
-exports._documentElement = function (doc) {
+export function _documentElement(doc) {
return function () {
return doc.documentElement;
};
-};
+}
-exports._head = function (doc) {
+export function _head(doc) {
return function () {
return doc.head;
};
-};
+}
-exports._body = function (doc) {
+export function _body(doc) {
return function () {
return doc.body;
};
-};
+}
-exports._readyState = function (doc) {
+export function _readyState(doc) {
return function () {
return doc.readyState;
};
-};
+}
-exports._activeElement = function (doc) {
+export function _activeElement(doc) {
return function () {
return doc.activeElement;
};
-};
+}
-exports._currentScript = function (doc) {
+export function _currentScript(doc) {
return function () {
return doc.currentScript;
};
-};
+}
-exports.referrer = function (doc) {
+export function referrer(doc) {
return function () {
return doc.referrer;
};
-};
+}
-exports.title = function (doc) {
+export function title(doc) {
return function () {
return doc.title;
};
-};
+}
-exports.setTitle = function (title) {
+export function setTitle(title) {
return function (doc) {
return function () {
doc.title = title;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLElement.js b/src/Web/HTML/HTMLElement.js
index 4f8401d..bdf9925 100644
--- a/src/Web/HTML/HTMLElement.js
+++ b/src/Web/HTML/HTMLElement.js
@@ -1,193 +1,193 @@
"use strict";
-exports._read = function (nothing, just, value) {
+export function _read(nothing, just, value) {
var tag = Object.prototype.toString.call(value);
if (tag.indexOf("[object HTML") === 0 && tag.indexOf("Element]") === tag.length - 8) {
return just(value);
} else {
return nothing;
}
-};
+}
// ----------------------------------------------------------------------------
-exports.title = function (elt) {
+export function title(elt) {
return function () {
return elt.title;
};
-};
+}
-exports.setTitle = function (title) {
+export function setTitle(title) {
return function (elt) {
return function () {
elt.title = title;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.lang = function (elt) {
+export function lang(elt) {
return function () {
return elt.lang;
};
-};
+}
-exports.setLang = function (lang) {
+export function setLang(lang) {
return function (elt) {
return function () {
elt.lang = lang;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.dir = function (elt) {
+export function dir(elt) {
return function () {
return elt.dir;
};
-};
+}
-exports.setDir = function (dir) {
+export function setDir(dir) {
return function (elt) {
return function () {
elt.dir = dir;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.className = function (elt) {
+export function className(elt) {
return function () {
return elt.className;
};
-};
+}
-exports.setClassName = function (className) {
+export function setClassName(className) {
return function (elt) {
return function () {
elt.className = className;
};
};
-};
+}
-exports.classList = function (element) {
+export function classList(element) {
return function () {
return element.classList;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.hidden = function (elt) {
+export function hidden(elt) {
return function () {
return elt.hidden;
};
-};
+}
-exports.setHidden = function (hidden) {
+export function setHidden(hidden) {
return function (elt) {
return function () {
elt.hidden = hidden;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.tabIndex = function (elt) {
+export function tabIndex(elt) {
return function () {
return elt.tabIndex;
};
-};
+}
-exports.setTabIndex = function (tabIndex) {
+export function setTabIndex(tabIndex) {
return function (elt) {
return function () {
elt.tabIndex = tabIndex;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.draggable = function (elt) {
+export function draggable(elt) {
return function () {
return elt.draggable;
};
-};
+}
-exports.setDraggable = function (draggable) {
+export function setDraggable(draggable) {
return function (elt) {
return function () {
elt.draggable = draggable;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.contentEditable = function (elt) {
+export function contentEditable(elt) {
return function () {
return elt.contentEditable;
};
-};
+}
-exports.setContentEditable = function (contentEditable) {
+export function setContentEditable(contentEditable) {
return function (elt) {
return function () {
elt.contentEditable = contentEditable;
};
};
-};
+}
-exports.isContentEditable = function (elt) {
+export function isContentEditable(elt) {
return function () {
return elt.isContentEditable;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.spellcheck = function (elt) {
+export function spellcheck(elt) {
return function () {
return elt.spellcheck;
};
-};
+}
-exports.setSpellcheck = function (spellcheck) {
+export function setSpellcheck(spellcheck) {
return function (elt) {
return function () {
elt.spellcheck = spellcheck;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.click = function (elt) {
+export function click(elt) {
return function () {
return elt.click();
};
-};
+}
-exports.focus = function (elt) {
+export function focus(elt) {
return function () {
return elt.focus();
};
-};
+}
-exports.blur = function (elt) {
+export function blur(elt) {
return function () {
return elt.blur();
};
-};
+}
// - CSSOM ---------------------------------------------------------------------
-exports.getBoundingClientRect = function (el) {
+export function getBoundingClientRect(el) {
return function () {
var rect = el.getBoundingClientRect();
return {
@@ -199,34 +199,34 @@ exports.getBoundingClientRect = function (el) {
height: rect.height
};
};
-};
+}
-exports._offsetParent = function (el) {
+export function _offsetParent(el) {
return function () {
return el.offsetParent;
};
-};
+}
-exports.offsetTop = function (el) {
+export function offsetTop(el) {
return function () {
return el.offsetTop;
};
-};
+}
-exports.offsetLeft = function (el) {
+export function offsetLeft(el) {
return function () {
return el.offsetLeft;
};
-};
+}
-exports.offsetWidth = function (el) {
+export function offsetWidth(el) {
return function () {
return el.offsetWidth;
};
-};
+}
-exports.offsetHeight = function (el) {
+export function offsetHeight(el) {
return function () {
return el.offsetHeight;
};
-};
+}
diff --git a/src/Web/HTML/HTMLEmbedElement.js b/src/Web/HTML/HTMLEmbedElement.js
index cd0f6f2..3805339 100644
--- a/src/Web/HTML/HTMLEmbedElement.js
+++ b/src/Web/HTML/HTMLEmbedElement.js
@@ -1,63 +1,63 @@
"use strict";
-exports.src = function (embed) {
+export function src(embed) {
return function () {
return embed.src;
};
-};
+}
-exports.setSrc = function (src) {
+export function setSrc(src) {
return function (embed) {
return function () {
embed.src = src;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.type_ = function (embed) {
+export function type_(embed) {
return function () {
return embed.type;
};
-};
+}
-exports.setType = function (type) {
+export function setType(type) {
return function (embed) {
return function () {
embed.type = type;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.width = function (embed) {
+export function width(embed) {
return function () {
return embed.width;
};
-};
+}
-exports.setWidth = function (width) {
+export function setWidth(width) {
return function (embed) {
return function () {
embed.width = width;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.height = function (embed) {
+export function height(embed) {
return function () {
return embed.height;
};
-};
+}
-exports.setHeight = function (height) {
+export function setHeight(height) {
return function (embed) {
return function () {
embed.height = height;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLFieldSetElement.js b/src/Web/HTML/HTMLFieldSetElement.js
index 1579d19..2fb3b10 100644
--- a/src/Web/HTML/HTMLFieldSetElement.js
+++ b/src/Web/HTML/HTMLFieldSetElement.js
@@ -1,105 +1,105 @@
"use strict";
-exports.disabled = function (fieldset) {
+export function disabled(fieldset) {
return function () {
return fieldset.disabled;
};
-};
+}
-exports.setDisabled = function (disabled) {
+export function setDisabled(disabled) {
return function (fieldset) {
return function () {
fieldset.disabled = disabled;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports._form = function (fieldset) {
+export function _form(fieldset) {
return function () {
return fieldset.form;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.name = function (fieldset) {
+export function name(fieldset) {
return function () {
return fieldset.name;
};
-};
+}
-exports.setName = function (name) {
+export function setName(name) {
return function (fieldset) {
return function () {
fieldset.name = name;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.type_ = function (fieldset) {
+export function type_(fieldset) {
return function () {
return fieldset.type;
};
-};
+}
-exports.setType = function (type) {
+export function setType(type) {
return function (fieldset) {
return function () {
fieldset.type = type;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.willValidate = function (fieldset) {
+export function willValidate(fieldset) {
return function () {
return fieldset.willValidate;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.validity = function (fieldset) {
+export function validity(fieldset) {
return function () {
return fieldset.validity;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.validationMessage = function (fieldset) {
+export function validationMessage(fieldset) {
return function () {
return fieldset.validationMessage;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.checkValidity = function (fieldset) {
+export function checkValidity(fieldset) {
return function () {
return fieldset.checkValidity();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.reportValidity = function (fieldset) {
+export function reportValidity(fieldset) {
return function () {
return fieldset.reportValidity();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.setCustomValidity = function (value) {
+export function setCustomValidity(value) {
return function (fieldset) {
return function () {
fieldset.setCustomValidity(value);
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLFormElement.js b/src/Web/HTML/HTMLFormElement.js
index 6f7abb2..5d79087 100644
--- a/src/Web/HTML/HTMLFormElement.js
+++ b/src/Web/HTML/HTMLFormElement.js
@@ -1,183 +1,183 @@
"use strict";
-exports.acceptCharset = function (form) {
+export function acceptCharset(form) {
return function () {
return form.acceptCharset;
};
-};
+}
-exports.setAcceptCharset = function (acceptCharset) {
+export function setAcceptCharset(acceptCharset) {
return function (form) {
return function () {
form.acceptCharset = acceptCharset;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.action = function (form) {
+export function action(form) {
return function () {
return form.action;
};
-};
+}
-exports.setAction = function (action) {
+export function setAction(action) {
return function (form) {
return function () {
form.action = action;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.autocomplete = function (form) {
+export function autocomplete(form) {
return function () {
return form.autocomplete;
};
-};
+}
-exports.setAutocomplete = function (autocomplete) {
+export function setAutocomplete(autocomplete) {
return function (form) {
return function () {
form.autocomplete = autocomplete;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.enctype = function (form) {
+export function enctype(form) {
return function () {
return form.enctype;
};
-};
+}
-exports.setEnctype = function (enctype) {
+export function setEnctype(enctype) {
return function (form) {
return function () {
form.enctype = enctype;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.encoding = function (form) {
+export function encoding(form) {
return function () {
return form.encoding;
};
-};
+}
-exports.setEncoding = function (encoding) {
+export function setEncoding(encoding) {
return function (form) {
return function () {
form.encoding = encoding;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.method = function (form) {
+export function method(form) {
return function () {
return form.method;
};
-};
+}
-exports.setMethod = function (method) {
+export function setMethod(method) {
return function (form) {
return function () {
form.method = method;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.name = function (form) {
+export function name(form) {
return function () {
return form.name;
};
-};
+}
-exports.setName = function (name) {
+export function setName(name) {
return function (form) {
return function () {
form.name = name;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.noValidate = function (form) {
+export function noValidate(form) {
return function () {
return form.noValidate;
};
-};
+}
-exports.setNoValidate = function (noValidate) {
+export function setNoValidate(noValidate) {
return function (form) {
return function () {
form.noValidate = noValidate;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.target = function (form) {
+export function target(form) {
return function () {
return form.target;
};
-};
+}
-exports.setTarget = function (target) {
+export function setTarget(target) {
return function (form) {
return function () {
form.target = target;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.length = function (form) {
+export function length(form) {
return function () {
return form.length;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.submit = function (form) {
+export function submit(form) {
return function () {
form.submit();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.reset = function (form) {
+export function reset(form) {
return function () {
form.reset();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.checkValidity = function (form) {
+export function checkValidity(form) {
return function () {
return form.checkValidity();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.reportValidity = function (form) {
+export function reportValidity(form) {
return function () {
return form.reportValidity();
};
-};
+}
diff --git a/src/Web/HTML/HTMLHyperlinkElementUtils.js b/src/Web/HTML/HTMLHyperlinkElementUtils.js
index ea449ea..e6701dd 100644
--- a/src/Web/HTML/HTMLHyperlinkElementUtils.js
+++ b/src/Web/HTML/HTMLHyperlinkElementUtils.js
@@ -1,167 +1,167 @@
"use strict";
-exports.href = function (u) {
+export function href(u) {
return function () {
return u.href;
};
-};
+}
-exports.setHref = function (href) {
+export function setHref(href) {
return function (u) {
return function () {
u.href = href;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.origin = function (u) {
+export function origin(u) {
return function () {
return u.origin;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.protocol = function (u) {
+export function protocol(u) {
return function () {
return u.protocol;
};
-};
+}
-exports.setProtocol = function (protocol) {
+export function setProtocol(protocol) {
return function (u) {
return function () {
u.protocol = protocol;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.username = function (u) {
+export function username(u) {
return function () {
return u.username;
};
-};
+}
-exports.setUsername = function (username) {
+export function setUsername(username) {
return function (u) {
return function () {
u.username = username;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.password = function (u) {
+export function password(u) {
return function () {
return u.password;
};
-};
+}
-exports.setPassword = function (password) {
+export function setPassword(password) {
return function (u) {
return function () {
u.password = password;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.host = function (u) {
+export function host(u) {
return function () {
return u.host;
};
-};
+}
-exports.setHost = function (host) {
+export function setHost(host) {
return function (u) {
return function () {
u.host = host;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.hostname = function (u) {
+export function hostname(u) {
return function () {
return u.hostname;
};
-};
+}
-exports.setHostname = function (hostname) {
+export function setHostname(hostname) {
return function (u) {
return function () {
u.hostname = hostname;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.port = function (u) {
+export function port(u) {
return function () {
return u.port;
};
-};
+}
-exports.setPort = function (port) {
+export function setPort(port) {
return function (u) {
return function () {
u.port = port;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.pathname = function (u) {
+export function pathname(u) {
return function () {
return u.pathname;
};
-};
+}
-exports.setPathname = function (pathname) {
+export function setPathname(pathname) {
return function (u) {
return function () {
u.pathname = pathname;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.search = function (u) {
+export function search(u) {
return function () {
return u.search;
};
-};
+}
-exports.setSearch = function (search) {
+export function setSearch(search) {
return function (u) {
return function () {
u.search = search;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.hash = function (u) {
+export function hash(u) {
return function () {
return u.hash;
};
-};
+}
-exports.setHash = function (hash) {
+export function setHash(hash) {
return function (u) {
return function () {
u.hash = hash;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLIFrameElement.js b/src/Web/HTML/HTMLIFrameElement.js
index 180688d..12f841e 100644
--- a/src/Web/HTML/HTMLIFrameElement.js
+++ b/src/Web/HTML/HTMLIFrameElement.js
@@ -1,93 +1,93 @@
"use strict";
-exports.src = function (iframe) {
+export function src(iframe) {
return function () {
return iframe.src;
};
-};
+}
-exports.setSrc = function (src) {
+export function setSrc(src) {
return function (iframe) {
return function () {
iframe.src = src;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.srcdoc = function (iframe) {
+export function srcdoc(iframe) {
return function () {
return iframe.srcdoc;
};
-};
+}
-exports.setSrcdoc = function (srcdoc) {
+export function setSrcdoc(srcdoc) {
return function (iframe) {
return function () {
iframe.srcdoc = srcdoc;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.name = function (iframe) {
+export function name(iframe) {
return function () {
return iframe.name;
};
-};
+}
-exports.setName = function (name) {
+export function setName(name) {
return function (iframe) {
return function () {
iframe.name = name;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.width = function (iframe) {
+export function width(iframe) {
return function () {
return iframe.width;
};
-};
+}
-exports.setWidth = function (width) {
+export function setWidth(width) {
return function (iframe) {
return function () {
iframe.width = width;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.height = function (iframe) {
+export function height(iframe) {
return function () {
return iframe.height;
};
-};
+}
-exports.setHeight = function (height) {
+export function setHeight(height) {
return function (iframe) {
return function () {
iframe.height = height;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports._contentDocument = function (iframe) {
+export function _contentDocument(iframe) {
return function () {
return iframe.contentDocument;
};
-};
+}
-exports._contentWindow = function (iframe) {
+export function _contentWindow(iframe) {
return function () {
return iframe.contentWindow;
};
-};
+}
diff --git a/src/Web/HTML/HTMLImageElement.js b/src/Web/HTML/HTMLImageElement.js
index 60c01bd..2a32398 100644
--- a/src/Web/HTML/HTMLImageElement.js
+++ b/src/Web/HTML/HTMLImageElement.js
@@ -1,217 +1,217 @@
"use strict";
-exports.create = function () {
+export function create() {
return new Image();
-};
+}
-exports.createWithDimensions = function (width) {
+export function createWithDimensions(width) {
return function (height) {
return function () {
return new Image(width, height);
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.alt = function (image) {
+export function alt(image) {
return function () {
return image.alt;
};
-};
+}
-exports.setAlt = function (alt) {
+export function setAlt(alt) {
return function (image) {
return function () {
image.alt = alt;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.src = function (image) {
+export function src(image) {
return function () {
return image.src;
};
-};
+}
-exports.setSrc = function (src) {
+export function setSrc(src) {
return function (image) {
return function () {
image.src = src;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.srcset = function (image) {
+export function srcset(image) {
return function () {
return image.srcset;
};
-};
+}
-exports.setSrcset = function (srcset) {
+export function setSrcset(srcset) {
return function (image) {
return function () {
image.srcset = srcset;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.sizes = function (image) {
+export function sizes(image) {
return function () {
return image.sizes;
};
-};
+}
-exports.setSizes = function (sizes) {
+export function setSizes(sizes) {
return function (image) {
return function () {
image.sizes = sizes;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.currentSrc = function (image) {
+export function currentSrc(image) {
return function () {
return image.currentSrc;
};
-};
+}
// ----------------------------------------------------------------------------
-exports._crossOrigin = function (image) {
+export function _crossOrigin(image) {
return image.crossOrigin;
-};
+}
-exports._setCrossOrigin = function (crossOrigin, image) {
+export function _setCrossOrigin(crossOrigin, image) {
image.crossOrigin = crossOrigin;
-};
+}
// ----------------------------------------------------------------------------
-exports.useMap = function (image) {
+export function useMap(image) {
return function () {
return image.useMap;
};
-};
+}
-exports.setUseMap = function (useMap) {
+export function setUseMap(useMap) {
return function (image) {
return function () {
image.useMap = useMap;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.isMap = function (image) {
+export function isMap(image) {
return function () {
return image.isMap;
};
-};
+}
-exports.setIsMap = function (isMap) {
+export function setIsMap(isMap) {
return function (image) {
return function () {
image.isMap = isMap;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.width = function (image) {
+export function width(image) {
return function () {
return image.width;
};
-};
+}
-exports.setWidth = function (width) {
+export function setWidth(width) {
return function (image) {
return function () {
image.width = width;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.height = function (image) {
+export function height(image) {
return function () {
return image.height;
};
-};
+}
-exports.setHeight = function (height) {
+export function setHeight(height) {
return function (image) {
return function () {
image.height = height;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.naturalWidth = function (image) {
+export function naturalWidth(image) {
return function () {
return image.naturalWidth;
};
-};
+}
-exports.naturalHeight = function (image) {
+export function naturalHeight(image) {
return function () {
return image.naturalHeight;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.referrerPolicy = function (image) {
+export function referrerPolicy(image) {
return function () {
return image.referrerPolicy;
};
-};
+}
-exports.setReferrerPolicy = function (referrerPolicy) {
+export function setReferrerPolicy(referrerPolicy) {
return function (image) {
return function () {
image.referrerPolicy = referrerPolicy;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports._decoding = function (image) {
+export function _decoding(image) {
return image.decoding;
-};
+}
-exports._setDecoding = function (decoding, image) {
+export function _setDecoding(decoding, image) {
image.decoding = decoding;
-};
+}
// ----------------------------------------------------------------------------
-exports._loading = function (image) {
+export function _loading(image) {
return image.loading;
-};
+}
-exports._setLoading = function (loading, image) {
+export function _setLoading(loading, image) {
image.loading = loading;
-};
+}
// ----------------------------------------------------------------------------
-exports.complete = function (image) {
+export function complete(image) {
return function () {
return image.complete;
};
-};
+}
diff --git a/src/Web/HTML/HTMLInputElement.js b/src/Web/HTML/HTMLInputElement.js
index f2aa040..cfa9a32 100644
--- a/src/Web/HTML/HTMLInputElement.js
+++ b/src/Web/HTML/HTMLInputElement.js
@@ -1,721 +1,722 @@
"use strict";
-exports.accept = function (input) {
+export function accept(input) {
return function () {
return input.accept;
};
-};
+}
-exports.setAccept = function (accept) {
+export function setAccept(accept) {
return function (input) {
return function () {
input.accept = accept;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.alt = function (input) {
+export function alt(input) {
return function () {
return input.alt;
};
-};
+}
-exports.setAlt = function (alt) {
+export function setAlt(alt) {
return function (input) {
return function () {
input.alt = alt;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.autocomplete = function (input) {
+export function autocomplete(input) {
return function () {
return input.autocomplete;
};
-};
+}
-exports.setAutocomplete = function (autocomplete) {
+export function setAutocomplete(autocomplete) {
return function (input) {
return function () {
input.autocomplete = autocomplete;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.autofocus = function (input) {
+export function autofocus(input) {
return function () {
return input.autofocus;
};
-};
+}
-exports.setAutofocus = function (autofocus) {
+export function setAutofocus(autofocus) {
return function (input) {
return function () {
input.autofocus = autofocus;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.defaultChecked = function (input) {
+export function defaultChecked(input) {
return function () {
return input.defaultChecked;
};
-};
+}
-exports.setDefaultChecked = function (defaultChecked) {
+export function setDefaultChecked(defaultChecked) {
return function (input) {
return function () {
input.defaultChecked = defaultChecked;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.checked = function (input) {
+export function checked(input) {
return function () {
return input.checked;
};
-};
+}
-exports.setChecked = function (checked) {
+export function setChecked(checked) {
return function (input) {
return function () {
input.checked = checked;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.dirName = function (input) {
+export function dirName(input) {
return function () {
return input.dirName;
};
-};
+}
-exports.setDirName = function (dirName) {
+export function setDirName(dirName) {
return function (input) {
return function () {
input.dirName = dirName;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.disabled = function (input) {
+export function disabled(input) {
return function () {
return input.disabled;
};
-};
+}
-exports.setDisabled = function (disabled) {
+export function setDisabled(disabled) {
return function (input) {
return function () {
input.disabled = disabled;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports._form = function (input) {
+export function _form(input) {
return function () {
return input.form;
};
-};
+}
// ----------------------------------------------------------------------------
-exports._files = function (input) {
+export function _files(input) {
return function () {
return input.files;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.formAction = function (input) {
+export function formAction(input) {
return function () {
return input.formAction;
};
-};
+}
-exports.setFormAction = function (formAction) {
+export function setFormAction(formAction) {
return function (input) {
return function () {
input.formAction = formAction;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.formEnctype = function (input) {
+export function formEnctype(input) {
return function () {
return input.formEnctype;
};
-};
+}
-exports.setFormEnctype = function (formEnctype) {
+export function setFormEnctype(formEnctype) {
return function (input) {
return function () {
input.formEnctype = formEnctype;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.formMethod = function (input) {
+export function formMethod(input) {
return function () {
return input.formMethod;
};
-};
+}
-exports.setFormMethod = function (formMethod) {
+export function setFormMethod(formMethod) {
return function (input) {
return function () {
input.formMethod = formMethod;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.formNoValidate = function (input) {
+export function formNoValidate(input) {
return function () {
return input.formNoValidate;
};
-};
+}
-exports.setFormNoValidate = function (formNoValidate) {
+export function setFormNoValidate(formNoValidate) {
return function (input) {
return function () {
input.formNoValidate = formNoValidate;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.formTarget = function (input) {
+export function formTarget(input) {
return function () {
return input.formTarget;
};
-};
+}
-exports.setFormTarget = function (formTarget) {
+export function setFormTarget(formTarget) {
return function (input) {
return function () {
input.formTarget = formTarget;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.height = function (input) {
+export function height(input) {
return function () {
return input.height;
};
-};
+}
-exports.setHeight = function (height) {
+export function setHeight(height) {
return function (input) {
return function () {
input.height = height;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.indeterminate = function (input) {
+export function indeterminate(input) {
return function () {
return input.indeterminate;
};
-};
+}
-exports.setIndeterminate = function (indeterminate) {
+export function setIndeterminate(indeterminate) {
return function (input) {
return function () {
input.indeterminate = indeterminate;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports._list = function (input) {
+export function _list(input) {
return function () {
return input.list;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.max = function (input) {
+export function max(input) {
return function () {
return input.max;
};
-};
+}
-exports.setMax = function (max) {
+export function setMax(max) {
return function (input) {
return function () {
input.max = max;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.maxLength = function (input) {
+export function maxLength(input) {
return function () {
return input.maxLength;
};
-};
+}
-exports.setMaxLength = function (maxLength) {
+export function setMaxLength(maxLength) {
return function (input) {
return function () {
input.maxLength = maxLength;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.min = function (input) {
+export function min(input) {
return function () {
return input.min;
};
-};
+}
-exports.setMin = function (min) {
+export function setMin(min) {
return function (input) {
return function () {
input.min = min;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.minLength = function (input) {
+export function minLength(input) {
return function () {
return input.minLength;
};
-};
+}
-exports.setMinLength = function (minLength) {
+export function setMinLength(minLength) {
return function (input) {
return function () {
input.minLength = minLength;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.multiple = function (input) {
+export function multiple(input) {
return function () {
return input.multiple;
};
-};
+}
-exports.setMultiple = function (multiple) {
+export function setMultiple(multiple) {
return function (input) {
return function () {
input.multiple = multiple;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.name = function (input) {
+export function name(input) {
return function () {
return input.name;
};
-};
+}
-exports.setName = function (name) {
+export function setName(name) {
return function (input) {
return function () {
input.name = name;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.pattern = function (input) {
+export function pattern(input) {
return function () {
return input.pattern;
};
-};
+}
-exports.setPattern = function (pattern) {
+export function setPattern(pattern) {
return function (input) {
return function () {
input.pattern = pattern;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.placeholder = function (input) {
+export function placeholder(input) {
return function () {
return input.placeholder;
};
-};
+}
-exports.setPlaceholder = function (placeholder) {
+export function setPlaceholder(placeholder) {
return function (input) {
return function () {
input.placeholder = placeholder;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.readOnly = function (input) {
+export function readOnly(input) {
return function () {
return input.readOnly;
};
-};
+}
-exports.setReadOnly = function (readOnly) {
+export function setReadOnly(readOnly) {
return function (input) {
return function () {
input.readOnly = readOnly;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.required = function (input) {
+export function required(input) {
return function () {
return input.required;
};
-};
+}
-exports.setRequired = function (required) {
+export function setRequired(required) {
return function (input) {
return function () {
input.required = required;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.size = function (input) {
+export function size(input) {
return function () {
return input.size;
};
-};
+}
-exports.setSize = function (size) {
+export function setSize(size) {
return function (input) {
return function () {
input.size = size;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.src = function (input) {
+export function src(input) {
return function () {
return input.src;
};
-};
+}
-exports.setSrc = function (src) {
+export function setSrc(src) {
return function (input) {
return function () {
input.src = src;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.step = function (input) {
+export function step(input) {
return function () {
return input.step;
};
-};
+}
-exports.setStep = function (step) {
+export function setStep(step) {
return function (input) {
return function () {
input.step = step;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.type_ = function (input) {
+export function type_(input) {
return function () {
return input.type;
};
-};
+}
-exports.setType = function (type) {
+export function setType(type) {
return function (input) {
return function () {
input.type = type;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.defaultValue = function (input) {
+export function defaultValue(input) {
return function () {
return input.defaultValue;
};
-};
+}
-exports.setDefaultValue = function (defaultValue) {
+export function setDefaultValue(defaultValue) {
return function (input) {
return function () {
input.defaultValue = defaultValue;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.value = function (input) {
+export function value(input) {
return function () {
return input.value;
};
-};
+}
-exports.setValue = function (value) {
+export function setValue(value) {
return function (input) {
return function () {
input.value = value;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.valueAsDate = function (input) {
+export function valueAsDate(input) {
return function () {
return input.valueAsDate;
};
-};
+}
-exports.setValueAsDate = function (valueAsDate) {
+export function setValueAsDate(valueAsDate) {
return function (input) {
return function () {
input.valueAsDate = valueAsDate;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.valueAsNumber = function (input) {
+export function valueAsNumber(input) {
return function () {
return input.valueAsNumber;
};
-};
+}
-exports.setValueAsNumber = function (valueAsNumber) {
+export function setValueAsNumber(valueAsNumber) {
return function (input) {
return function () {
input.valueAsNumber = valueAsNumber;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.width = function (input) {
+export function width(input) {
return function () {
return input.width;
};
-};
+}
-exports.setWidth = function (width) {
+export function setWidth(width) {
return function (input) {
return function () {
input.width = width;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.stepUpBy = function (n) {
+export function stepUpBy(n) {
return function (input) {
return function () {
input.stepUp(n);
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.stepDownBy = function (n) {
+export function stepDownBy(n) {
return function (input) {
return function () {
input.stepDown(n);
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.willValidate = function (input) {
+export function willValidate(input) {
return function () {
return input.willValidate;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.validity = function (input) {
+export function validity(input) {
return function () {
return input.validity;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.validationMessage = function (input) {
+export function validationMessage(input) {
return function () {
return input.validationMessage;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.checkValidity = function (input) {
+export function checkValidity(input) {
return function () {
return input.checkValidity();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.reportValidity = function (input) {
+export function reportValidity(input) {
return function () {
return input.reportValidity();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.setCustomValidity = function (value) {
+export function setCustomValidity(value) {
return function (input) {
return function () {
input.setCustomValidity(value);
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.labels = function (input) {
+export function labels(input) {
return function () {
return input.labels;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.select = function (input) {
+export function select(input) {
return function () {
input.select();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.selectionStart = function (input) {
+export function selectionStart(input) {
return function () {
return input.selectionStart;
};
-};
+}
-exports.setSelectionStart = function (selectionStart) {
+export function setSelectionStart(selectionStart) {
return function (input) {
return function () {
input.selectionStart = selectionStart;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.selectionEnd = function (input) {
+export function selectionEnd(input) {
return function () {
return input.selectionEnd;
};
-};
+}
-exports.setSelectionEnd = function (selectionEnd) {
+export function setSelectionEnd(selectionEnd) {
return function (input) {
return function () {
input.selectionEnd = selectionEnd;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.selectionDirection = function (input) {
+export function selectionDirection(input) {
return function () {
return input.selectionDirection;
};
-};
+}
-exports.setSelectionDirection = function (selectionDirection) {
+export function setSelectionDirection(selectionDirection) {
return function (input) {
return function () {
input.selectionDirection = selectionDirection;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.setRangeText = function (replacement) {
+export function setRangeText(replacement) {
return function (input) {
return function () {
input.setRangeText(replacement);
};
};
-};
-exports._setRangeText = function (replacement, start, end, selectionMode, textarea) {
+}
+
+export function _setRangeText(replacement, start, end, selectionMode, textarea) {
textarea.setRangeText(replacement, start, end, selectionMode);
-};
+}
// ----------------------------------------------------------------------------
-exports.setSelectionRange = function (start) {
+export function setSelectionRange(start) {
return function (end) {
return function (direction) {
return function (input) {
@@ -725,4 +726,4 @@ exports.setSelectionRange = function (start) {
};
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLKeygenElement.js b/src/Web/HTML/HTMLKeygenElement.js
index dd4f2cd..a08a21a 100644
--- a/src/Web/HTML/HTMLKeygenElement.js
+++ b/src/Web/HTML/HTMLKeygenElement.js
@@ -1,153 +1,153 @@
"use strict";
-exports.autofocus = function (keygen) {
+export function autofocus(keygen) {
return function () {
return keygen.autofocus;
};
-};
+}
-exports.setAutofocus = function (autofocus) {
+export function setAutofocus(autofocus) {
return function (keygen) {
return function () {
keygen.autofocus = autofocus;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.challenge = function (keygen) {
+export function challenge(keygen) {
return function () {
return keygen.challenge;
};
-};
+}
-exports.setChallenge = function (challenge) {
+export function setChallenge(challenge) {
return function (keygen) {
return function () {
keygen.challenge = challenge;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.disabled = function (keygen) {
+export function disabled(keygen) {
return function () {
return keygen.disabled;
};
-};
+}
-exports.setDisabled = function (disabled) {
+export function setDisabled(disabled) {
return function (keygen) {
return function () {
keygen.disabled = disabled;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports._form = function (keygen) {
+export function _form(keygen) {
return function () {
return keygen.form;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.keytype = function (keygen) {
+export function keytype(keygen) {
return function () {
return keygen.keytype;
};
-};
+}
-exports.setKeytype = function (keytype) {
+export function setKeytype(keytype) {
return function (keygen) {
return function () {
keygen.keytype = keytype;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.name = function (keygen) {
+export function name(keygen) {
return function () {
return keygen.name;
};
-};
+}
-exports.setName = function (name) {
+export function setName(name) {
return function (keygen) {
return function () {
keygen.name = name;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.type_ = function (keygen) {
+export function type_(keygen) {
return function () {
return keygen.type;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.willValidate = function (keygen) {
+export function willValidate(keygen) {
return function () {
return keygen.willValidate;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.validity = function (keygen) {
+export function validity(keygen) {
return function () {
return keygen.validity;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.validationMessage = function (keygen) {
+export function validationMessage(keygen) {
return function () {
return keygen.validationMessage;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.checkValidity = function (keygen) {
+export function checkValidity(keygen) {
return function () {
return keygen.checkValidity();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.reportValidity = function (keygen) {
+export function reportValidity(keygen) {
return function () {
return keygen.reportValidity();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.setCustomValidity = function (value) {
+export function setCustomValidity(value) {
return function (keygen) {
return function () {
keygen.setCustomValidity(value);
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.labels = function (keygen) {
+export function labels(keygen) {
return function () {
return keygen.labels;
};
-};
+}
diff --git a/src/Web/HTML/HTMLLIElement.js b/src/Web/HTML/HTMLLIElement.js
index bb30ee5..59b48e7 100644
--- a/src/Web/HTML/HTMLLIElement.js
+++ b/src/Web/HTML/HTMLLIElement.js
@@ -1,15 +1,15 @@
"use strict";
-exports.value = function (li) {
+export function value(li) {
return function () {
return li.value;
};
-};
+}
-exports.setValue = function (value) {
+export function setValue(value) {
return function (li) {
return function () {
li.value = value;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLLabelElement.js b/src/Web/HTML/HTMLLabelElement.js
index 41101f3..ddd2b68 100644
--- a/src/Web/HTML/HTMLLabelElement.js
+++ b/src/Web/HTML/HTMLLabelElement.js
@@ -1,31 +1,31 @@
"use strict";
-exports._form = function (label) {
+export function _form(label) {
return function () {
return label.form;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.htmlFor = function (label) {
+export function htmlFor(label) {
return function () {
return label.htmlFor;
};
-};
+}
-exports.setHtmlFor = function (htmlFor) {
+export function setHtmlFor(htmlFor) {
return function (label) {
return function () {
label.htmlFor = htmlFor;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports._control = function (label) {
+export function _control(label) {
return function () {
return label.control;
};
-};
+}
diff --git a/src/Web/HTML/HTMLLegendElement.js b/src/Web/HTML/HTMLLegendElement.js
index 1a18899..8dc2d6c 100644
--- a/src/Web/HTML/HTMLLegendElement.js
+++ b/src/Web/HTML/HTMLLegendElement.js
@@ -1,7 +1,7 @@
"use strict";
-exports._form = function (le) {
+export function _form(le) {
return function () {
return le.form;
};
-};
+}
diff --git a/src/Web/HTML/HTMLLinkElement.js b/src/Web/HTML/HTMLLinkElement.js
index 3702221..dd69db7 100644
--- a/src/Web/HTML/HTMLLinkElement.js
+++ b/src/Web/HTML/HTMLLinkElement.js
@@ -1,135 +1,135 @@
"use strict";
-exports.disabled = function (link) {
+export function disabled(link) {
return function () {
return link.disabled;
};
-};
+}
-exports.setDisabled = function (disabled) {
+export function setDisabled(disabled) {
return function (link) {
return function () {
link.disabled = disabled;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.href = function (link) {
+export function href(link) {
return function () {
return link.href;
};
-};
+}
-exports.setHref = function (href) {
+export function setHref(href) {
return function (link) {
return function () {
link.href = href;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.crossOrigin = function (link) {
+export function crossOrigin(link) {
return function () {
return link.crossOrigin;
};
-};
+}
-exports.setCrossOrigin = function (crossOrigin) {
+export function setCrossOrigin(crossOrigin) {
return function (link) {
return function () {
link.crossOrigin = crossOrigin;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.rel = function (link) {
+export function rel(link) {
return function () {
return link.rel;
};
-};
+}
-exports.setRel = function (rel) {
+export function setRel(rel) {
return function (link) {
return function () {
link.rel = rel;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.rev = function (link) {
+export function rev(link) {
return function () {
return link.rev;
};
-};
+}
-exports.setRev = function (rev) {
+export function setRev(rev) {
return function (link) {
return function () {
link.rev = rev;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.relList = function (link) {
+export function relList(link) {
return function () {
return link.relList;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.media = function (link) {
+export function media(link) {
return function () {
return link.media;
};
-};
+}
-exports.setMedia = function (media) {
+export function setMedia(media) {
return function (link) {
return function () {
link.media = media;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.hreflang = function (link) {
+export function hreflang(link) {
return function () {
return link.hreflang;
};
-};
+}
-exports.setHreflang = function (hreflang) {
+export function setHreflang(hreflang) {
return function (link) {
return function () {
link.hreflang = hreflang;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.type_ = function (link) {
+export function type_(link) {
return function () {
return link.type;
};
-};
+}
-exports.setType = function (type) {
+export function setType(type) {
return function (link) {
return function () {
link.type = type;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLMapElement.js b/src/Web/HTML/HTMLMapElement.js
index b4b8dea..0e6ebdb 100644
--- a/src/Web/HTML/HTMLMapElement.js
+++ b/src/Web/HTML/HTMLMapElement.js
@@ -1,31 +1,31 @@
"use strict";
-exports.name = function (map) {
+export function name(map) {
return function () {
return map.name;
};
-};
+}
-exports.setName = function (name) {
+export function setName(name) {
return function (map) {
return function () {
map.name = name;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.areas = function (map) {
+export function areas(map) {
return function () {
return map.areas;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.images = function (map) {
+export function images(map) {
return function () {
return map.images;
};
-};
+}
diff --git a/src/Web/HTML/HTMLMediaElement.js b/src/Web/HTML/HTMLMediaElement.js
index 56afc63..ab8b138 100644
--- a/src/Web/HTML/HTMLMediaElement.js
+++ b/src/Web/HTML/HTMLMediaElement.js
@@ -1,297 +1,297 @@
"use strict";
-exports.src = function (media) {
+export function src(media) {
return function () {
return media.src;
};
-};
+}
-exports.setSrc = function (src) {
+export function setSrc(src) {
return function (media) {
return function () {
media.src = src;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.currentSrc = function (media) {
+export function currentSrc(media) {
return function () {
return media.currentSrc;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.crossOrigin = function (media) {
+export function crossOrigin(media) {
return function () {
return media.crossOrigin;
};
-};
+}
-exports.setCrossOrigin = function (crossOrigin) {
+export function setCrossOrigin(crossOrigin) {
return function (media) {
return function () {
media.crossOrigin = crossOrigin;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports._networkState = function (media) {
+export function _networkState(media) {
return media.networkState;
-};
+}
// ----------------------------------------------------------------------------
-exports.preload = function (media) {
+export function preload(media) {
return function () {
return media.preload;
};
-};
+}
-exports.setPreload = function (preload) {
+export function setPreload(preload) {
return function (media) {
return function () {
media.preload = preload;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.load = function (media) {
+export function load(media) {
return function () {
return media.load();
};
-};
+}
// ----------------------------------------------------------------------------
-exports._canPlayType = function (type, media) {
+export function _canPlayType(type, media) {
return media.canPlayType(type);
-};
+}
// ----------------------------------------------------------------------------
-exports._readyState = function (media) {
+export function _readyState(media) {
return media.readyState;
-};
+}
// ----------------------------------------------------------------------------
-exports.seeking = function (media) {
+export function seeking(media) {
return function () {
return media.seeking;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.currentTime = function (media) {
+export function currentTime(media) {
return function () {
return media.currentTime;
};
-};
+}
-exports.setCurrentTime = function (currentTime) {
+export function setCurrentTime(currentTime) {
return function (media) {
return function () {
media.currentTime = currentTime;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.duration = function (media) {
+export function duration(media) {
return function () {
return media.duration;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.getStartDate = function (media) {
+export function getStartDate(media) {
return function () {
return media.getStartDate();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.paused = function (media) {
+export function paused(media) {
return function () {
return media.paused;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.defaultPlaybackRate = function (media) {
+export function defaultPlaybackRate(media) {
return function () {
return media.defaultPlaybackRate;
};
-};
+}
-exports.setDefaultPlaybackRate = function (defaultPlaybackRate) {
+export function setDefaultPlaybackRate(defaultPlaybackRate) {
return function (media) {
return function () {
media.defaultPlaybackRate = defaultPlaybackRate;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.playbackRate = function (media) {
+export function playbackRate(media) {
return function () {
return media.playbackRate;
};
-};
+}
-exports.setPlaybackRate = function (playbackRate) {
+export function setPlaybackRate(playbackRate) {
return function (media) {
return function () {
media.playbackRate = playbackRate;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.ended = function (media) {
+export function ended(media) {
return function () {
return media.ended;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.autoplay = function (media) {
+export function autoplay(media) {
return function () {
return media.autoplay;
};
-};
+}
-exports.setAutoplay = function (autoplay) {
+export function setAutoplay(autoplay) {
return function (media) {
return function () {
media.autoplay = autoplay;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.loop = function (media) {
+export function loop(media) {
return function () {
return media.loop;
};
-};
+}
-exports.setLoop = function (loop) {
+export function setLoop(loop) {
return function (media) {
return function () {
media.loop = loop;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.play = function (media) {
+export function play(media) {
return function () {
media.play();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.pause = function (media) {
+export function pause(media) {
return function () {
media.pause();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.mediaGroup = function (media) {
+export function mediaGroup(media) {
return function () {
return media.mediaGroup;
};
-};
+}
-exports.setMediaGroup = function (mediaGroup) {
+export function setMediaGroup(mediaGroup) {
return function (media) {
return function () {
media.mediaGroup = mediaGroup;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.controls = function (media) {
+export function controls(media) {
return function () {
return media.controls;
};
-};
+}
-exports.setControls = function (controls) {
+export function setControls(controls) {
return function (media) {
return function () {
media.controls = controls;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.volume = function (media) {
+export function volume(media) {
return function () {
return media.volume;
};
-};
+}
-exports.setVolume = function (volume) {
+export function setVolume(volume) {
return function (media) {
return function () {
media.volume = volume;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.muted = function (media) {
+export function muted(media) {
return function () {
return media.muted;
};
-};
+}
-exports.setMuted = function (muted) {
+export function setMuted(muted) {
return function (media) {
return function () {
media.muted = muted;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.defaultMuted = function (media) {
+export function defaultMuted(media) {
return function () {
return media.defaultMuted;
};
-};
+}
-exports.setDefaultMuted = function (defaultMuted) {
+export function setDefaultMuted(defaultMuted) {
return function (media) {
return function () {
media.defaultMuted = defaultMuted;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLMetaElement.js b/src/Web/HTML/HTMLMetaElement.js
index 96308de..06568a4 100644
--- a/src/Web/HTML/HTMLMetaElement.js
+++ b/src/Web/HTML/HTMLMetaElement.js
@@ -1,47 +1,47 @@
"use strict";
-exports.name = function (meta) {
+export function name(meta) {
return function () {
return meta.name;
};
-};
+}
-exports.setName = function (name) {
+export function setName(name) {
return function (meta) {
return function () {
meta.name = name;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.httpEquiv = function (meta) {
+export function httpEquiv(meta) {
return function () {
return meta.httpEquiv;
};
-};
+}
-exports.setHttpEquiv = function (httpEquiv) {
+export function setHttpEquiv(httpEquiv) {
return function (meta) {
return function () {
meta.httpEquiv = httpEquiv;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.content = function (meta) {
+export function content(meta) {
return function () {
return meta.content;
};
-};
+}
-exports.setContent = function (content) {
+export function setContent(content) {
return function (meta) {
return function () {
meta.content = content;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLMeterElement.js b/src/Web/HTML/HTMLMeterElement.js
index c529741..906d23d 100644
--- a/src/Web/HTML/HTMLMeterElement.js
+++ b/src/Web/HTML/HTMLMeterElement.js
@@ -1,103 +1,103 @@
"use strict";
-exports.value = function (meter) {
+export function value(meter) {
return function () {
return meter.value;
};
-};
+}
-exports.setValue = function (value) {
+export function setValue(value) {
return function (meter) {
return function () {
meter.value = value;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.min = function (meter) {
+export function min(meter) {
return function () {
return meter.min;
};
-};
+}
-exports.setMin = function (min) {
+export function setMin(min) {
return function (meter) {
return function () {
meter.min = min;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.max = function (meter) {
+export function max(meter) {
return function () {
return meter.max;
};
-};
+}
-exports.setMax = function (max) {
+export function setMax(max) {
return function (meter) {
return function () {
meter.max = max;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.low = function (meter) {
+export function low(meter) {
return function () {
return meter.low;
};
-};
+}
-exports.setLow = function (low) {
+export function setLow(low) {
return function (meter) {
return function () {
meter.low = low;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.high = function (meter) {
+export function high(meter) {
return function () {
return meter.high;
};
-};
+}
-exports.setHigh = function (high) {
+export function setHigh(high) {
return function (meter) {
return function () {
meter.high = high;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.optimum = function (meter) {
+export function optimum(meter) {
return function () {
return meter.optimum;
};
-};
+}
-exports.setOptimum = function (optimum) {
+export function setOptimum(optimum) {
return function (meter) {
return function () {
meter.optimum = optimum;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.labels = function (meter) {
+export function labels(meter) {
return function () {
return meter.labels;
};
-};
+}
diff --git a/src/Web/HTML/HTMLModElement.js b/src/Web/HTML/HTMLModElement.js
index 7b0b5c2..2d6525c 100644
--- a/src/Web/HTML/HTMLModElement.js
+++ b/src/Web/HTML/HTMLModElement.js
@@ -1,31 +1,31 @@
"use strict";
-exports.cite = function (mod) {
+export function cite(mod) {
return function () {
return mod.cite;
};
-};
+}
-exports.setCite = function (cite) {
+export function setCite(cite) {
return function (mod) {
return function () {
mod.cite = cite;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.dateTime = function (mod) {
+export function dateTime(mod) {
return function () {
return mod.dateTime;
};
-};
+}
-exports.setDateTime = function (dateTime) {
+export function setDateTime(dateTime) {
return function (mod) {
return function () {
mod.dateTime = dateTime;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLOListElement.js b/src/Web/HTML/HTMLOListElement.js
index bed83a5..5134c46 100644
--- a/src/Web/HTML/HTMLOListElement.js
+++ b/src/Web/HTML/HTMLOListElement.js
@@ -1,47 +1,47 @@
"use strict";
-exports.reversed = function (ol) {
+export function reversed(ol) {
return function () {
return ol.reversed;
};
-};
+}
-exports.setReversed = function (reversed) {
+export function setReversed(reversed) {
return function (ol) {
return function () {
ol.reversed = reversed;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.start = function (ol) {
+export function start(ol) {
return function () {
return ol.start;
};
-};
+}
-exports.setStart = function (start) {
+export function setStart(start) {
return function (ol) {
return function () {
ol.start = start;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.type_ = function (ol) {
+export function type_(ol) {
return function () {
return ol.type;
};
-};
+}
-exports.setType = function (type) {
+export function setType(type) {
return function (ol) {
return function () {
ol.type = type;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLObjectElement.js b/src/Web/HTML/HTMLObjectElement.js
index c0cc3db..2fdc8f2 100644
--- a/src/Web/HTML/HTMLObjectElement.js
+++ b/src/Web/HTML/HTMLObjectElement.js
@@ -1,169 +1,169 @@
"use strict";
-exports.data_ = function (object) {
+export function data_(object) {
return function () {
return object.data;
};
-};
+}
-exports.setData = function (data) {
+export function setData(data) {
return function (object) {
return function () {
object.data = data;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.type_ = function (object) {
+export function type_(object) {
return function () {
return object.type;
};
-};
+}
-exports.setType = function (type) {
+export function setType(type) {
return function (object) {
return function () {
object.type = type;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.typeMustMatch = function (object) {
+export function typeMustMatch(object) {
return function () {
return object.typeMustMatch;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.name = function (object) {
+export function name(object) {
return function () {
return object.name;
};
-};
+}
-exports.setName = function (name) {
+export function setName(name) {
return function (object) {
return function () {
object.name = name;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.useMap = function (object) {
+export function useMap(object) {
return function () {
return object.useMap;
};
-};
+}
-exports.setUseMap = function (useMap) {
+export function setUseMap(useMap) {
return function (object) {
return function () {
object.useMap = useMap;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports._form = function (object) {
+export function _form(object) {
return function () {
return object.form;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.width = function (object) {
+export function width(object) {
return function () {
return object.width;
};
-};
+}
-exports.setWidth = function (width) {
+export function setWidth(width) {
return function (object) {
return function () {
object.width = width;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.height = function (object) {
+export function height(object) {
return function () {
return object.height;
};
-};
+}
-exports.setHeight = function (height) {
+export function setHeight(height) {
return function (object) {
return function () {
object.height = height;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports._contentDocument = function (object) {
+export function _contentDocument(object) {
return function () {
return object.contentDocument;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.willValidate = function (object) {
+export function willValidate(object) {
return function () {
return object.willValidate;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.validity = function (object) {
+export function validity(object) {
return function () {
return object.validity;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.validationMessage = function (object) {
+export function validationMessage(object) {
return function () {
return object.validationMessage;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.checkValidity = function (object) {
+export function checkValidity(object) {
return function () {
return object.checkValidity();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.reportValidity = function (object) {
+export function reportValidity(object) {
return function () {
return object.reportValidity();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.setCustomValidity = function (value) {
+export function setCustomValidity(value) {
return function (object) {
return function () {
object.setCustomValidity(value);
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLOptGroupElement.js b/src/Web/HTML/HTMLOptGroupElement.js
index c0257c6..5b5db68 100644
--- a/src/Web/HTML/HTMLOptGroupElement.js
+++ b/src/Web/HTML/HTMLOptGroupElement.js
@@ -1,31 +1,31 @@
"use strict";
-exports.disabled = function (optgroup) {
+export function disabled(optgroup) {
return function () {
return optgroup.disabled;
};
-};
+}
-exports.setDisabled = function (disabled) {
+export function setDisabled(disabled) {
return function (optgroup) {
return function () {
optgroup.disabled = disabled;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.label = function (optgroup) {
+export function label(optgroup) {
return function () {
return optgroup.label;
};
-};
+}
-exports.setLabel = function (label) {
+export function setLabel(label) {
return function (optgroup) {
return function () {
optgroup.label = label;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLOptionElement.js b/src/Web/HTML/HTMLOptionElement.js
index 9285741..34d5d70 100644
--- a/src/Web/HTML/HTMLOptionElement.js
+++ b/src/Web/HTML/HTMLOptionElement.js
@@ -1,111 +1,111 @@
"use strict";
-exports.disabled = function (option) {
+export function disabled(option) {
return function () {
return option.disabled;
};
-};
+}
-exports.setDisabled = function (disabled) {
+export function setDisabled(disabled) {
return function (option) {
return function () {
option.disabled = disabled;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports._form = function (option) {
+export function _form(option) {
return function () {
return option.form;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.label = function (option) {
+export function label(option) {
return function () {
return option.label;
};
-};
+}
-exports.setLabel = function (label) {
+export function setLabel(label) {
return function (option) {
return function () {
option.label = label;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.defaultSelected = function (option) {
+export function defaultSelected(option) {
return function () {
return option.defaultSelected;
};
-};
+}
-exports.setDefaultSelected = function (defaultSelected) {
+export function setDefaultSelected(defaultSelected) {
return function (option) {
return function () {
option.defaultSelected = defaultSelected;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.selected = function (option) {
+export function selected(option) {
return function () {
return option.selected;
};
-};
+}
-exports.setSelected = function (selected) {
+export function setSelected(selected) {
return function (option) {
return function () {
option.selected = selected;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.value = function (option) {
+export function value(option) {
return function () {
return option.value;
};
-};
+}
-exports.setValue = function (value) {
+export function setValue(value) {
return function (option) {
return function () {
option.value = value;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.text = function (option) {
+export function text(option) {
return function () {
return option.text;
};
-};
+}
-exports.setText = function (text) {
+export function setText(text) {
return function (option) {
return function () {
option.text = text;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.index = function (option) {
+export function index(option) {
return function () {
return option.index;
};
-};
+}
diff --git a/src/Web/HTML/HTMLOutputElement.js b/src/Web/HTML/HTMLOutputElement.js
index bb391da..1d07e7c 100644
--- a/src/Web/HTML/HTMLOutputElement.js
+++ b/src/Web/HTML/HTMLOutputElement.js
@@ -1,121 +1,121 @@
"use strict";
-exports._form = function (output) {
+export function _form(output) {
return function () {
return output.form;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.name = function (output) {
+export function name(output) {
return function () {
return output.name;
};
-};
+}
-exports.setName = function (name) {
+export function setName(name) {
return function (output) {
return function () {
output.name = name;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.type_ = function (output) {
+export function type_(output) {
return function () {
return output.type;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.defaultValue = function (output) {
+export function defaultValue(output) {
return function () {
return output.defaultValue;
};
-};
+}
-exports.setDefaultValue = function (defaultValue) {
+export function setDefaultValue(defaultValue) {
return function (output) {
return function () {
output.defaultValue = defaultValue;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.value = function (output) {
+export function value(output) {
return function () {
return output.value;
};
-};
+}
-exports.setValue = function (value) {
+export function setValue(value) {
return function (output) {
return function () {
output.value = value;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.willValidate = function (output) {
+export function willValidate(output) {
return function () {
return output.willValidate;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.validity = function (output) {
+export function validity(output) {
return function () {
return output.validity;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.validationMessage = function (output) {
+export function validationMessage(output) {
return function () {
return output.validationMessage;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.checkValidity = function (output) {
+export function checkValidity(output) {
return function () {
return output.checkValidity();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.reportValidity = function (output) {
+export function reportValidity(output) {
return function () {
return output.reportValidity();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.setCustomValidity = function (value) {
+export function setCustomValidity(value) {
return function (output) {
return function () {
output.setCustomValidity(value);
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.labels = function (output) {
+export function labels(output) {
return function () {
return output.labels;
};
-};
+}
diff --git a/src/Web/HTML/HTMLParamElement.js b/src/Web/HTML/HTMLParamElement.js
index f3a7864..08d99b4 100644
--- a/src/Web/HTML/HTMLParamElement.js
+++ b/src/Web/HTML/HTMLParamElement.js
@@ -1,31 +1,31 @@
"use strict";
-exports.name = function (param) {
+export function name(param) {
return function () {
return param.name;
};
-};
+}
-exports.setName = function (name) {
+export function setName(name) {
return function (param) {
return function () {
param.name = name;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.value = function (param) {
+export function value(param) {
return function () {
return param.value;
};
-};
+}
-exports.setValue = function (value) {
+export function setValue(value) {
return function (param) {
return function () {
param.value = value;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLProgressElement.js b/src/Web/HTML/HTMLProgressElement.js
index 4d81b7a..96c0a87 100644
--- a/src/Web/HTML/HTMLProgressElement.js
+++ b/src/Web/HTML/HTMLProgressElement.js
@@ -1,47 +1,47 @@
"use strict";
-exports.value = function (progress) {
+export function value(progress) {
return function () {
return progress.value;
};
-};
+}
-exports.setValue = function (value) {
+export function setValue(value) {
return function (progress) {
return function () {
progress.value = value;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.max = function (progress) {
+export function max(progress) {
return function () {
return progress.max;
};
-};
+}
-exports.setMax = function (max) {
+export function setMax(max) {
return function (progress) {
return function () {
progress.max = max;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.position = function (progress) {
+export function position(progress) {
return function () {
return progress.position;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.labels = function (progress) {
+export function labels(progress) {
return function () {
return progress.labels;
};
-};
+}
diff --git a/src/Web/HTML/HTMLQuoteElement.js b/src/Web/HTML/HTMLQuoteElement.js
index 73812a1..126e9f8 100644
--- a/src/Web/HTML/HTMLQuoteElement.js
+++ b/src/Web/HTML/HTMLQuoteElement.js
@@ -1,15 +1,15 @@
"use strict";
-exports.cite = function (quote) {
+export function cite(quote) {
return function () {
return quote.cite;
};
-};
+}
-exports.setCite = function (cite) {
+export function setCite(cite) {
return function (quote) {
return function () {
quote.cite = cite;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLScriptElement.js b/src/Web/HTML/HTMLScriptElement.js
index d202b2e..4972a47 100644
--- a/src/Web/HTML/HTMLScriptElement.js
+++ b/src/Web/HTML/HTMLScriptElement.js
@@ -1,111 +1,111 @@
"use strict";
-exports.src = function (script) {
+export function src(script) {
return function () {
return script.src;
};
-};
+}
-exports.setSrc = function (src) {
+export function setSrc(src) {
return function (script) {
return function () {
script.src = src;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.type_ = function (script) {
+export function type_(script) {
return function () {
return script.type;
};
-};
+}
-exports.setType = function (type) {
+export function setType(type) {
return function (script) {
return function () {
script.type = type;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.charset = function (script) {
+export function charset(script) {
return function () {
return script.charset;
};
-};
+}
-exports.setCharset = function (charset) {
+export function setCharset(charset) {
return function (script) {
return function () {
script.charset = charset;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.async = function (script) {
+export function async(script) {
return function () {
return script.async;
};
-};
+}
-exports.setAsync = function (async) {
+export function setAsync(async) {
return function (script) {
return function () {
script.async = async;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.defer = function (script) {
+export function defer(script) {
return function () {
return script.defer;
};
-};
+}
-exports.setDefer = function (defer) {
+export function setDefer(defer) {
return function (script) {
return function () {
script.defer = defer;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.crossOrigin = function (script) {
+export function crossOrigin(script) {
return function () {
return script.crossOrigin;
};
-};
+}
-exports.setCrossOrigin = function (crossOrigin) {
+export function setCrossOrigin(crossOrigin) {
return function (script) {
return function () {
script.crossOrigin = crossOrigin;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.text = function (script) {
+export function text(script) {
return function () {
return script.text;
};
-};
+}
-exports.setText = function (text) {
+export function setText(text) {
return function (script) {
return function () {
script.text = text;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLSelectElement.js b/src/Web/HTML/HTMLSelectElement.js
index 19b232e..f15b6b8 100644
--- a/src/Web/HTML/HTMLSelectElement.js
+++ b/src/Web/HTML/HTMLSelectElement.js
@@ -1,225 +1,225 @@
"use strict";
-exports.autofocus = function (select) {
+export function autofocus(select) {
return function () {
return select.autofocus;
};
-};
+}
-exports.setAutofocus = function (autofocus) {
+export function setAutofocus(autofocus) {
return function (select) {
return function () {
select.autofocus = autofocus;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.disabled = function (select) {
+export function disabled(select) {
return function () {
return select.disabled;
};
-};
+}
-exports.setDisabled = function (disabled) {
+export function setDisabled(disabled) {
return function (select) {
return function () {
select.disabled = disabled;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.multiple = function (select) {
+export function multiple(select) {
return function () {
return select.multiple;
};
-};
+}
-exports.setMultiple = function (multiple) {
+export function setMultiple(multiple) {
return function (select) {
return function () {
select.multiple = multiple;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports._form = function (select) {
+export function _form(select) {
return function () {
return select.form;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.name = function (select) {
+export function name(select) {
return function () {
return select.name;
};
-};
+}
-exports.setName = function (name) {
+export function setName(name) {
return function (select) {
return function () {
select.name = name;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.required = function (select) {
+export function required(select) {
return function () {
return select.required;
};
-};
+}
-exports.setRequired = function (required) {
+export function setRequired(required) {
return function (select) {
return function () {
select.required = required;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.size = function (select) {
+export function size(select) {
return function () {
return select.size;
};
-};
+}
-exports.setSize = function (size) {
+export function setSize(size) {
return function (select) {
return function () {
select.size = size;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.type_ = function (select) {
+export function type_(select) {
return function () {
return select.type;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.length = function (select) {
+export function length(select) {
return function () {
return select.length;
};
-};
+}
-exports.setLength = function (length) {
+export function setLength(length) {
return function (select) {
return function () {
select.length = length;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.selectedOptions = function (select) {
+export function selectedOptions(select) {
return function () {
return select.selectedOptions;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.selectedIndex = function (select) {
+export function selectedIndex(select) {
return function () {
return select.selectedIndex;
};
-};
+}
-exports.setSelectedIndex = function (selectedIndex) {
+export function setSelectedIndex(selectedIndex) {
return function (select) {
return function () {
select.selectedIndex = selectedIndex;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.value = function (select) {
+export function value(select) {
return function () {
return select.value;
};
-};
+}
-exports.setValue = function (value) {
+export function setValue(value) {
return function (select) {
return function () {
select.value = value;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.willValidate = function (select) {
+export function willValidate(select) {
return function () {
return select.willValidate;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.validity = function (select) {
+export function validity(select) {
return function () {
return select.validity;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.validationMessage = function (select) {
+export function validationMessage(select) {
return function () {
return select.validationMessage;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.checkValidity = function (select) {
+export function checkValidity(select) {
return function () {
return select.checkValidity();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.reportValidity = function (select) {
+export function reportValidity(select) {
return function () {
return select.reportValidity();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.setCustomValidity = function (value) {
+export function setCustomValidity(value) {
return function (select) {
return function () {
select.setCustomValidity(value);
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.labels = function (select) {
+export function labels(select) {
return function () {
return select.labels;
};
-};
+}
diff --git a/src/Web/HTML/HTMLSourceElement.js b/src/Web/HTML/HTMLSourceElement.js
index 6b8bc4e..5a1a6e7 100644
--- a/src/Web/HTML/HTMLSourceElement.js
+++ b/src/Web/HTML/HTMLSourceElement.js
@@ -1,47 +1,47 @@
"use strict";
-exports.src = function (source) {
+export function src(source) {
return function () {
return source.src;
};
-};
+}
-exports.setSrc = function (src) {
+export function setSrc(src) {
return function (source) {
return function () {
source.src = src;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.type_ = function (source) {
+export function type_(source) {
return function () {
return source.type;
};
-};
+}
-exports.setType = function (type) {
+export function setType(type) {
return function (source) {
return function () {
source.type = type;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.media = function (source) {
+export function media(source) {
return function () {
return source.media;
};
-};
+}
-exports.setMedia = function (media) {
+export function setMedia(media) {
return function (source) {
return function () {
source.media = media;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLStyleElement.js b/src/Web/HTML/HTMLStyleElement.js
index ba4eae2..bb48d4d 100644
--- a/src/Web/HTML/HTMLStyleElement.js
+++ b/src/Web/HTML/HTMLStyleElement.js
@@ -1,31 +1,31 @@
"use strict";
-exports.media = function (style) {
+export function media(style) {
return function () {
return style.media;
};
-};
+}
-exports.setMedia = function (media) {
+export function setMedia(media) {
return function (style) {
return function () {
style.media = media;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.type_ = function (style) {
+export function type_(style) {
return function () {
return style.type;
};
-};
+}
-exports.setType = function (type) {
+export function setType(type) {
return function (style) {
return function () {
style.type = type;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLTableCellElement.js b/src/Web/HTML/HTMLTableCellElement.js
index 827bd80..94df8c2 100644
--- a/src/Web/HTML/HTMLTableCellElement.js
+++ b/src/Web/HTML/HTMLTableCellElement.js
@@ -1,39 +1,39 @@
"use strict";
-exports.colSpan = function (cell) {
+export function colSpan(cell) {
return function () {
return cell.colSpan;
};
-};
+}
-exports.setColSpan = function (colSpan) {
+export function setColSpan(colSpan) {
return function (cell) {
return function () {
cell.colSpan = colSpan;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.rowSpan = function (cell) {
+export function rowSpan(cell) {
return function () {
return cell.rowSpan;
};
-};
+}
-exports.setRowSpan = function (rowSpan) {
+export function setRowSpan(rowSpan) {
return function (cell) {
return function () {
cell.rowSpan = rowSpan;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.cellIndex = function (cell) {
+export function cellIndex(cell) {
return function () {
return cell.cellIndex;
};
-};
+}
diff --git a/src/Web/HTML/HTMLTableColElement.js b/src/Web/HTML/HTMLTableColElement.js
index e29c5ec..599d294 100644
--- a/src/Web/HTML/HTMLTableColElement.js
+++ b/src/Web/HTML/HTMLTableColElement.js
@@ -1,15 +1,15 @@
"use strict";
-exports.span = function (col) {
+export function span(col) {
return function () {
return col.span;
};
-};
+}
-exports.setSpan = function (span) {
+export function setSpan(span) {
return function (col) {
return function () {
col.span = span;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLTableElement.js b/src/Web/HTML/HTMLTableElement.js
index 9fc1fc7..6a17810 100644
--- a/src/Web/HTML/HTMLTableElement.js
+++ b/src/Web/HTML/HTMLTableElement.js
@@ -1,155 +1,155 @@
"use strict";
-exports._caption = function (table) {
+export function _caption(table) {
return function () {
return table.caption;
};
-};
+}
-exports._setCaption = function (caption) {
+export function _setCaption(caption) {
return function (table) {
return function () {
table.caption = caption;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.createCaption = function (table) {
+export function createCaption(table) {
return function () {
return table.createCaption();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.deleteCaption = function (table) {
+export function deleteCaption(table) {
return function () {
table.deleteCaption();
};
-};
+}
// ----------------------------------------------------------------------------
-exports._tHead = function (table) {
+export function _tHead(table) {
return function () {
return table.tHead;
};
-};
+}
-exports._setTHead = function (tHead) {
+export function _setTHead(tHead) {
return function (table) {
return function () {
table.tHead = tHead;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.createTHead = function (table) {
+export function createTHead(table) {
return function () {
return table.createTHead();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.deleteTHead = function (table) {
+export function deleteTHead(table) {
return function () {
table.deleteTHead();
};
-};
+}
// ----------------------------------------------------------------------------
-exports._tFoot = function (table) {
+export function _tFoot(table) {
return function () {
return table.tFoot;
};
-};
+}
-exports._setTFoot = function (tFoot) {
+export function _setTFoot(tFoot) {
return function (table) {
return function () {
table.tFoot = tFoot;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.createTFoot = function (table) {
+export function createTFoot(table) {
return function () {
return table.createTFoot();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.deleteTFoot = function (table) {
+export function deleteTFoot(table) {
return function () {
table.deleteTFoot();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.tBodies = function (table) {
+export function tBodies(table) {
return function () {
return table.tBodies;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.createTBody = function (table) {
+export function createTBody(table) {
return function () {
return table.createTBody();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.rows = function (table) {
+export function rows(table) {
return function () {
return table.rows;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.insertRowAt = function (index) {
+export function insertRowAt(index) {
return function (table) {
return function () {
return table.insertRow(index);
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.deleteRow = function (index) {
+export function deleteRow(index) {
return function (table) {
return function () {
table.deleteRow(index);
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.border = function (table) {
+export function border(table) {
return function () {
return table.border;
};
-};
+}
-exports.setBorder = function (border) {
+export function setBorder(border) {
return function (table) {
return function () {
table.border = border;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLTableHeaderCellElement.js b/src/Web/HTML/HTMLTableHeaderCellElement.js
index 3c20a99..ae5907a 100644
--- a/src/Web/HTML/HTMLTableHeaderCellElement.js
+++ b/src/Web/HTML/HTMLTableHeaderCellElement.js
@@ -1,31 +1,31 @@
"use strict";
-exports.scope = function (cell) {
+export function scope(cell) {
return function () {
return cell.scope;
};
-};
+}
-exports.setScope = function (scope) {
+export function setScope(scope) {
return function (cell) {
return function () {
cell.scope = scope;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.abbr = function (cell) {
+export function abbr(cell) {
return function () {
return cell.abbr;
};
-};
+}
-exports.setAbbr = function (abbr) {
+export function setAbbr(abbr) {
return function (cell) {
return function () {
cell.abbr = abbr;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLTableRowElement.js b/src/Web/HTML/HTMLTableRowElement.js
index 75d8ecb..95bb57d 100644
--- a/src/Web/HTML/HTMLTableRowElement.js
+++ b/src/Web/HTML/HTMLTableRowElement.js
@@ -1,43 +1,43 @@
"use strict";
-exports.rowIndex = function (row) {
+export function rowIndex(row) {
return function () {
return row.rowIndex;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.sectionRowIndex = function (row) {
+export function sectionRowIndex(row) {
return function () {
return row.sectionRowIndex;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.cells = function (row) {
+export function cells(row) {
return function () {
return row.cells;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.insertCellAt = function (index) {
+export function insertCellAt(index) {
return function (row) {
return function () {
return row.insertCell(index);
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.deleteCell = function (index) {
+export function deleteCell(index) {
return function (row) {
return function () {
row.deleteCell(index);
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLTableSectionElement.js b/src/Web/HTML/HTMLTableSectionElement.js
index f571cc2..0ea5724 100644
--- a/src/Web/HTML/HTMLTableSectionElement.js
+++ b/src/Web/HTML/HTMLTableSectionElement.js
@@ -1,27 +1,27 @@
"use strict";
-exports.rows = function (section) {
+export function rows(section) {
return function () {
return section.rows;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.insertRowAt = function (index) {
+export function insertRowAt(index) {
return function (section) {
return function () {
return section.insertRow(index);
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.deleteRow = function (index) {
+export function deleteRow(index) {
return function (section) {
return function () {
section.deleteRow(index);
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLTemplateElement.js b/src/Web/HTML/HTMLTemplateElement.js
index 9e5508a..cde9c0e 100644
--- a/src/Web/HTML/HTMLTemplateElement.js
+++ b/src/Web/HTML/HTMLTemplateElement.js
@@ -1,7 +1,7 @@
"use strict";
-exports.content = function (template) {
+export function content(template) {
return function () {
return template.content;
};
-};
+}
diff --git a/src/Web/HTML/HTMLTextAreaElement.js b/src/Web/HTML/HTMLTextAreaElement.js
index fc1d92f..f6ae9c3 100644
--- a/src/Web/HTML/HTMLTextAreaElement.js
+++ b/src/Web/HTML/HTMLTextAreaElement.js
@@ -1,398 +1,398 @@
"use strict";
-exports.autocomplete = function (textarea) {
+export function autocomplete(textarea) {
return function () {
return textarea.autocomplete;
};
-};
+}
-exports.setAutocomplete = function (autocomplete) {
+export function setAutocomplete(autocomplete) {
return function (textarea) {
return function () {
textarea.autocomplete = autocomplete;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.autofocus = function (textarea) {
+export function autofocus(textarea) {
return function () {
return textarea.autofocus;
};
-};
+}
-exports.setAutofocus = function (autofocus) {
+export function setAutofocus(autofocus) {
return function (textarea) {
return function () {
textarea.autofocus = autofocus;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.cols = function (textarea) {
+export function cols(textarea) {
return function () {
return textarea.cols;
};
-};
+}
-exports.setCols = function (cols) {
+export function setCols(cols) {
return function (textarea) {
return function () {
textarea.cols = cols;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.dirName = function (textarea) {
+export function dirName(textarea) {
return function () {
return textarea.dirName;
};
-};
+}
-exports.setDirName = function (dirName) {
+export function setDirName(dirName) {
return function (textarea) {
return function () {
textarea.dirName = dirName;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.disabled = function (textarea) {
+export function disabled(textarea) {
return function () {
return textarea.disabled;
};
-};
+}
-exports.setDisabled = function (disabled) {
+export function setDisabled(disabled) {
return function (textarea) {
return function () {
textarea.disabled = disabled;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports._form = function (textarea) {
+export function _form(textarea) {
return function () {
return textarea.form;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.maxLength = function (textarea) {
+export function maxLength(textarea) {
return function () {
return textarea.maxLength;
};
-};
+}
-exports.setMaxLength = function (maxLength) {
+export function setMaxLength(maxLength) {
return function (textarea) {
return function () {
textarea.maxLength = maxLength;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.minLength = function (textarea) {
+export function minLength(textarea) {
return function () {
return textarea.minLength;
};
-};
+}
-exports.setMinLength = function (minLength) {
+export function setMinLength(minLength) {
return function (textarea) {
return function () {
textarea.minLength = minLength;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.name = function (textarea) {
+export function name(textarea) {
return function () {
return textarea.name;
};
-};
+}
-exports.setName = function (name) {
+export function setName(name) {
return function (textarea) {
return function () {
textarea.name = name;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.placeholder = function (textarea) {
+export function placeholder(textarea) {
return function () {
return textarea.placeholder;
};
-};
+}
-exports.setPlaceholder = function (placeholder) {
+export function setPlaceholder(placeholder) {
return function (textarea) {
return function () {
textarea.placeholder = placeholder;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.readOnly = function (textarea) {
+export function readOnly(textarea) {
return function () {
return textarea.readOnly;
};
-};
+}
-exports.setReadOnly = function (readOnly) {
+export function setReadOnly(readOnly) {
return function (textarea) {
return function () {
textarea.readOnly = readOnly;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.required = function (textarea) {
+export function required(textarea) {
return function () {
return textarea.required;
};
-};
+}
-exports.setRequired = function (required) {
+export function setRequired(required) {
return function (textarea) {
return function () {
textarea.required = required;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.rows = function (textarea) {
+export function rows(textarea) {
return function () {
return textarea.rows;
};
-};
+}
-exports.setRows = function (rows) {
+export function setRows(rows) {
return function (textarea) {
return function () {
textarea.rows = rows;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.wrap = function (textarea) {
+export function wrap(textarea) {
return function () {
return textarea.wrap;
};
-};
+}
-exports.setWrap = function (wrap) {
+export function setWrap(wrap) {
return function (textarea) {
return function () {
textarea.wrap = wrap;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.type_ = function (textarea) {
+export function type_(textarea) {
return function () {
return textarea.type;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.defaultValue = function (textarea) {
+export function defaultValue(textarea) {
return function () {
return textarea.defaultValue;
};
-};
+}
-exports.setDefaultValue = function (defaultValue) {
+export function setDefaultValue(defaultValue) {
return function (textarea) {
return function () {
textarea.defaultValue = defaultValue;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.value = function (textarea) {
+export function value(textarea) {
return function () {
return textarea.value;
};
-};
+}
-exports.setValue = function (value) {
+export function setValue(value) {
return function (textarea) {
return function () {
textarea.value = value;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.textLength = function (textarea) {
+export function textLength(textarea) {
return function () {
return textarea.textLength;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.willValidate = function (textarea) {
+export function willValidate(textarea) {
return function () {
return textarea.willValidate;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.validity = function (textarea) {
+export function validity(textarea) {
return function () {
return textarea.validity;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.validationMessage = function (textarea) {
+export function validationMessage(textarea) {
return function () {
return textarea.validationMessage;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.checkValidity = function (textarea) {
+export function checkValidity(textarea) {
return function () {
return textarea.checkValidity();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.reportValidity = function (textarea) {
+export function reportValidity(textarea) {
return function () {
return textarea.reportValidity();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.setCustomValidity = function (value) {
+export function setCustomValidity(value) {
return function (textarea) {
return function () {
textarea.setCustomValidity(value);
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.labels = function (textarea) {
+export function labels(textarea) {
return function () {
return textarea.labels;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.select = function (textarea) {
+export function select(textarea) {
return function () {
textarea.select();
};
-};
+}
// ----------------------------------------------------------------------------
-exports.selectionStart = function (textarea) {
+export function selectionStart(textarea) {
return function () {
return textarea.selectionStart;
};
-};
+}
-exports.setSelectionStart = function (selectionStart) {
+export function setSelectionStart(selectionStart) {
return function (textarea) {
return function () {
textarea.selectionStart = selectionStart;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.selectionEnd = function (textarea) {
+export function selectionEnd(textarea) {
return function () {
return textarea.selectionEnd;
};
-};
+}
-exports.setSelectionEnd = function (selectionEnd) {
+export function setSelectionEnd(selectionEnd) {
return function (textarea) {
return function () {
textarea.selectionEnd = selectionEnd;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.selectionDirection = function (textarea) {
+export function selectionDirection(textarea) {
return function () {
return textarea.selectionDirection;
};
-};
+}
-exports.setSelectionDirection = function (selectionDirection) {
+export function setSelectionDirection(selectionDirection) {
return function (textarea) {
return function () {
textarea.selectionDirection = selectionDirection;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.setRangeText = function (replacement) {
+export function setRangeText(replacement) {
return function (textarea) {
return function () {
textarea.setRangeText(replacement);
};
};
-};
+}
-exports._setRangeText = function (replacement, start, end, selectionMode, textarea) {
+export function _setRangeText(replacement, start, end, selectionMode, textarea) {
textarea.setRangeText(replacement, start, end, selectionMode);
-};
+}
// ----------------------------------------------------------------------------
-exports.setSelectionRange = function (start) {
+export function setSelectionRange(start) {
return function (end) {
return function (direction) {
return function (textarea) {
@@ -402,4 +402,4 @@ exports.setSelectionRange = function (start) {
};
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLTimeElement.js b/src/Web/HTML/HTMLTimeElement.js
index 4117181..65a2f03 100644
--- a/src/Web/HTML/HTMLTimeElement.js
+++ b/src/Web/HTML/HTMLTimeElement.js
@@ -1,15 +1,15 @@
"use strict";
-exports.dateTime = function (time) {
+export function dateTime(time) {
return function () {
return time.dateTime;
};
-};
+}
-exports.setDateTime = function (dateTime) {
+export function setDateTime(dateTime) {
return function (time) {
return function () {
time.dateTime = dateTime;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLTitleElement.js b/src/Web/HTML/HTMLTitleElement.js
index d3440f9..b38e10e 100644
--- a/src/Web/HTML/HTMLTitleElement.js
+++ b/src/Web/HTML/HTMLTitleElement.js
@@ -1,15 +1,15 @@
"use strict";
-exports.text = function (title) {
+export function text(title) {
return function () {
return title.text;
};
-};
+}
-exports.setText = function (text) {
+export function setText(text) {
return function (title) {
return function () {
title.text = text;
};
};
-};
+}
diff --git a/src/Web/HTML/HTMLTrackElement.js b/src/Web/HTML/HTMLTrackElement.js
index 1050ce8..b0c29c5 100644
--- a/src/Web/HTML/HTMLTrackElement.js
+++ b/src/Web/HTML/HTMLTrackElement.js
@@ -1,66 +1,66 @@
"use strict";
-exports.kind = function (track) {
+export function kind(track) {
return function () {
return track.kind;
};
-};
+}
-exports.setKind = function (kind) {
+export function setKind(kind) {
return function (track) {
return function () {
track.kind = kind;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.src = function (track) {
+export function src(track) {
return function () {
return track.src;
};
-};
+}
-exports.setSrc = function (src) {
+export function setSrc(src) {
return function (track) {
return function () {
track.src = src;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.srclang = function (track) {
+export function srclang(track) {
return function () {
return track.srclang;
};
-};
+}
-exports.setSrclang = function (srclang) {
+export function setSrclang(srclang) {
return function (track) {
return function () {
track.srclang = srclang;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.label = function (track) {
+export function label(track) {
return function () {
return track.label;
};
-};
+}
-exports.setLabel = function (label) {
+export function setLabel(label) {
return function (track) {
return function () {
track.label = label;
};
};
-};
+}
// ----------------------------------------------------------------------------
@@ -70,16 +70,16 @@ exports["default"] = function (track) {
};
};
-exports.setDefault = function (def) {
+export function setDefault(def) {
return function (track) {
return function () {
track["default"] = def;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports._readyState = function (track) {
+export function _readyState(track) {
return track.readyState;
-};
+}
diff --git a/src/Web/HTML/HTMLVideoElement.js b/src/Web/HTML/HTMLVideoElement.js
index 6249364..e2d4159 100644
--- a/src/Web/HTML/HTMLVideoElement.js
+++ b/src/Web/HTML/HTMLVideoElement.js
@@ -2,64 +2,64 @@
// ----------------------------------------------------------------------------
-exports.width = function (video) {
+export function width(video) {
return function () {
return video.width;
};
-};
+}
-exports.setWidth = function (width) {
+export function setWidth(width) {
return function (video) {
return function () {
video.width = width;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.height = function (video) {
+export function height(video) {
return function () {
return video.height;
};
-};
+}
-exports.setHeight = function (height) {
+export function setHeight(height) {
return function (video) {
return function () {
video.height = height;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.videoWidth = function (video) {
+export function videoWidth(video) {
return function () {
return video.videoWidth;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.videoHeight = function (video) {
+export function videoHeight(video) {
return function () {
return video.videoHeight;
};
-};
+}
// ----------------------------------------------------------------------------
-exports.poster = function (video) {
+export function poster(video) {
return function () {
return video.poster;
};
-};
+}
-exports.setPoster = function (poster) {
+export function setPoster(poster) {
return function (video) {
return function () {
video.poster = poster;
};
};
-};
+}
diff --git a/src/Web/HTML/History.js b/src/Web/HTML/History.js
index e161c66..cbbf5cb 100644
--- a/src/Web/HTML/History.js
+++ b/src/Web/HTML/History.js
@@ -1,23 +1,26 @@
"use strict";
-exports.back = function(history) {
+export function back(history) {
return function() {
return history.back();
};
-};
-exports.forward = function(history) {
+}
+
+export function forward(history) {
return function() {
return history.forward();
};
-};
-exports.go = function(delta) {
+}
+
+export function go(delta) {
return function(history) {
return function() {
return history.go(delta);
};
};
-};
-exports.pushState = function(a) {
+}
+
+export function pushState(a) {
return function(docTitle) {
return function(url) {
return function(history) {
@@ -27,8 +30,9 @@ exports.pushState = function(a) {
};
};
};
-};
-exports.replaceState = function(a) {
+}
+
+export function replaceState(a) {
return function(docTitle) {
return function(url) {
return function(history) {
@@ -38,9 +42,10 @@ exports.replaceState = function(a) {
};
};
};
-};
-exports.state = function(history) {
+}
+
+export function state(history) {
return function() {
return history.state;
};
-};
+}
diff --git a/src/Web/HTML/Location.js b/src/Web/HTML/Location.js
index ecb47e9..fdb38fd 100644
--- a/src/Web/HTML/Location.js
+++ b/src/Web/HTML/Location.js
@@ -1,171 +1,171 @@
"use strict";
-exports.hash = function (location) {
+export function hash(location) {
return function () {
return location.hash;
};
-};
+}
-exports.setHash = function (hash) {
+export function setHash(hash) {
return function (location) {
return function () {
location.hash = hash;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.host = function (location) {
+export function host(location) {
return function () {
return location.host;
};
-};
+}
-exports.setHost = function (host) {
+export function setHost(host) {
return function (location) {
return function () {
location.host = host;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.hostname = function (location) {
+export function hostname(location) {
return function () {
return location.hostname;
};
-};
+}
-exports.setHostname = function (hostname) {
+export function setHostname(hostname) {
return function (location) {
return function () {
location.hostname = hostname;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.href = function (location) {
+export function href(location) {
return function () {
return location.href;
};
-};
+}
-exports.setHref = function (href) {
+export function setHref(href) {
return function (location) {
return function () {
location.href = href;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.origin = function (location) {
+export function origin(location) {
return function () {
return location.origin;
};
-};
+}
-exports.setOrigin = function (origin) {
+export function setOrigin(origin) {
return function (location) {
return function () {
location.origin = origin;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.pathname = function (location) {
+export function pathname(location) {
return function () {
return location.pathname;
};
-};
+}
-exports.setPathname = function (pathname) {
+export function setPathname(pathname) {
return function (location) {
return function () {
location.pathname = pathname;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.port = function (location) {
+export function port(location) {
return function () {
return location.port;
};
-};
+}
-exports.setPort = function (port) {
+export function setPort(port) {
return function (location) {
return function () {
location.port = port;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.protocol = function (location) {
+export function protocol(location) {
return function () {
return location.protocol;
};
-};
+}
-exports.setProtocol = function (protocol) {
+export function setProtocol(protocol) {
return function (location) {
return function () {
location.protocol = protocol;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.search = function (location) {
+export function search(location) {
return function () {
return location.search;
};
-};
+}
-exports.setSearch = function (search) {
+export function setSearch(search) {
return function (location) {
return function () {
location.search = search;
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.assign = function (url) {
+export function assign(url) {
return function (location) {
return function () {
location.assign(url);
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.replace = function (url) {
+export function replace(url) {
return function (location) {
return function () {
location.replace(url);
};
};
-};
+}
// ----------------------------------------------------------------------------
-exports.reload = function (location) {
+export function reload(location) {
return function () {
location.reload();
};
-};
+}
diff --git a/src/Web/HTML/Navigator.js b/src/Web/HTML/Navigator.js
index 66c5e23..852d256 100644
--- a/src/Web/HTML/Navigator.js
+++ b/src/Web/HTML/Navigator.js
@@ -1,31 +1,31 @@
"use strict";
-exports.language = function (navigator) {
+export function language(navigator) {
return function () {
return navigator.language;
};
-};
+}
-exports.languages = function (navigator) {
+export function languages(navigator) {
return function () {
return navigator.languages;
};
-};
+}
-exports.onLine = function (navigator) {
+export function onLine(navigator) {
return function () {
return navigator.onLine;
};
-};
+}
-exports.platform = function (navigator) {
+export function platform(navigator) {
return function () {
return navigator.platform;
};
-};
+}
-exports.userAgent = function (navigator) {
+export function userAgent(navigator) {
return function () {
return navigator.userAgent;
};
-};
+}
diff --git a/src/Web/HTML/ValidityState.js b/src/Web/HTML/ValidityState.js
index 366a780..73f53a5 100644
--- a/src/Web/HTML/ValidityState.js
+++ b/src/Web/HTML/ValidityState.js
@@ -1,5 +1,5 @@
"use strict";
-exports.readProp = function (prop, vs) {
+export function readProp(prop, vs) {
return vs[prop];
-};
+}
diff --git a/src/Web/HTML/Window.js b/src/Web/HTML/Window.js
index 0048eac..73e58e6 100644
--- a/src/Web/HTML/Window.js
+++ b/src/Web/HTML/Window.js
@@ -1,58 +1,58 @@
"use strict";
-exports.document = function (window) {
+export function document(window) {
return function () {
return window.document;
};
-};
+}
-exports.navigator = function (window) {
+export function navigator(window) {
return function () {
return window.navigator;
};
-};
+}
-exports.location = function (window) {
+export function location(window) {
return function () {
return window.location;
};
-};
+}
-exports.history = function(window) {
+export function history(window) {
return function() {
return window.history;
};
-};
+}
-exports.innerWidth = function (window) {
+export function innerWidth(window) {
return function () {
return window.innerWidth;
};
-};
+}
-exports.innerHeight = function (window) {
+export function innerHeight(window) {
return function () {
return window.innerHeight;
};
-};
+}
-exports.alert = function (str) {
+export function alert(str) {
return function (window) {
return function () {
window.alert(str);
};
};
-};
+}
-exports.confirm = function (str) {
+export function confirm(str) {
return function (window) {
return function () {
return window.confirm(str);
};
};
-};
+}
-exports.moveBy = function (xDelta) {
+export function moveBy(xDelta) {
return function (yDelta) {
return function (window) {
return function () {
@@ -60,9 +60,9 @@ exports.moveBy = function (xDelta) {
};
};
};
-};
+}
-exports.moveTo = function (width) {
+export function moveTo(width) {
return function (height) {
return function (window) {
return function () {
@@ -70,9 +70,9 @@ exports.moveTo = function (width) {
};
};
};
-};
+}
-exports._open = function (url) {
+export function _open(url) {
return function (name) {
return function (features) {
return function (window) {
@@ -82,27 +82,27 @@ exports._open = function (url) {
};
};
};
-};
+}
-exports.outerHeight = function (window) {
+export function outerHeight(window) {
return function () {
return window.outerHeight;
};
-};
+}
-exports.outerWidth = function (window) {
+export function outerWidth(window) {
return function () {
return window.outerWidth;
};
-};
+}
-exports.print = function (window) {
+export function print(window) {
return function () {
window.print();
};
-};
+}
-exports._prompt = function (str) {
+export function _prompt(str) {
return function (defaultText) {
return function (window) {
return function () {
@@ -110,9 +110,9 @@ exports._prompt = function (str) {
};
};
};
-};
+}
-exports.resizeBy = function (xDelta) {
+export function resizeBy(xDelta) {
return function (yDelta) {
return function (window) {
return function () {
@@ -120,9 +120,9 @@ exports.resizeBy = function (xDelta) {
};
};
};
-};
+}
-exports.resizeTo = function (width) {
+export function resizeTo(width) {
return function (height) {
return function (window) {
return function () {
@@ -130,21 +130,21 @@ exports.resizeTo = function (width) {
};
};
};
-};
+}
-exports.screenX = function (window) {
+export function screenX(window) {
return function () {
return window.screenX;
};
-};
+}
-exports.screenY = function (window) {
+export function screenY(window) {
return function () {
return window.screenY;
};
-};
+}
-exports.scroll = function (xCoord) {
+export function scroll(xCoord) {
return function (yCoord) {
return function (window) {
return function () {
@@ -152,9 +152,9 @@ exports.scroll = function (xCoord) {
};
};
};
-};
+}
-exports.scrollBy = function (xCoord) {
+export function scrollBy(xCoord) {
return function (yCoord) {
return function (window) {
return function () {
@@ -162,49 +162,49 @@ exports.scrollBy = function (xCoord) {
};
};
};
-};
+}
-exports.scrollX = function (window) {
+export function scrollX(window) {
return function () {
return window.scrollX;
};
-};
+}
-exports.scrollY = function (window) {
+export function scrollY(window) {
return function () {
return window.scrollY;
};
-};
+}
-exports.localStorage = function (window) {
+export function localStorage(window) {
return function () {
return window.localStorage;
};
-};
+}
-exports.sessionStorage = function (window) {
+export function sessionStorage(window) {
return function () {
return window.sessionStorage;
};
-};
+}
-exports.requestAnimationFrame = function(fn) {
+export function requestAnimationFrame(fn) {
return function(window) {
return function() {
return window.requestAnimationFrame(fn);
};
};
-};
+}
-exports.cancelAnimationFrame = function(id) {
+export function cancelAnimationFrame(id) {
return function(window) {
return function() {
return window.cancelAnimationFrame(id);
};
};
-};
+}
-exports.requestIdleCallback = function(opts) {
+export function requestIdleCallback(opts) {
return function(fn) {
return function(window) {
return function() {
@@ -212,24 +212,24 @@ exports.requestIdleCallback = function(opts) {
};
};
};
-};
+}
-exports.cancelIdleCallback = function(id) {
+export function cancelIdleCallback(id) {
return function(window) {
return function() {
return window.cancelIdleCallback(id);
};
};
-};
+}
-exports.parent = function(window) {
+export function parent(window) {
return function() {
return window.parent;
};
-};
+}
-exports._opener = function(window) {
+export function _opener(window) {
return function() {
return window.opener;
};
-};
+}