32 lines
809 B
JavaScript
32 lines
809 B
JavaScript
"use strict";
|
|
|
|
import {Utils} from "../Utils/Utils.ecma.js";
|
|
|
|
export const BaseView = (function(){
|
|
|
|
const BaseView = function(routes_marker){
|
|
|
|
const self = this;
|
|
|
|
const constructor = () => {};
|
|
|
|
this.build = position => {
|
|
routes_marker.item_self ||
|
|
(routes_marker.item_self = Utils.set_html(position, [
|
|
["div", {
|
|
id : "routes-maker",
|
|
class : "routes-maker",
|
|
data_application : "RoutesMaker",
|
|
data_git : "https://git.k3y.pw/KyMAN/RoutesMaker",
|
|
data_url : "https://routesmaker.k3y.pw/",
|
|
data_author : "KyMAN"
|
|
}]
|
|
])[0]);
|
|
};
|
|
|
|
constructor();
|
|
|
|
};
|
|
|
|
return BaseView;
|
|
})(); |