h5:rename code

This commit is contained in:
pengfei.zhou 2019-12-26 17:18:26 +08:00 committed by osborn
parent 541e39a800
commit cd6024d7ac
4 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
import { DoricElement } from './src/DoricElement'
import { NavigationElement } from './src/navigate/navigation'
import { NavigationElement } from './src/navigate/NavigationElement'
window.customElements.define('doric-div', DoricElement);
window.customElements.define('doric-navigation', NavigationElement);

View File

@ -1,6 +1,6 @@
import { DoricPlugin } from "../DoricPlugin";
import { DoricElement } from "../DoricElement";
import { NavigationElement } from "./navigation";
import { NavigationElement } from "./NavigationElement";
export class NavigatorPlugin extends DoricPlugin {
navigation: NavigationElement | undefined = document.getElementsByTagName('doric-navigation')[0] as (NavigationElement | undefined)