Fix imports for deno

This commit is contained in:
Daniel Bulant 2020-05-13 11:59:53 +02:00
parent 0d81bd6f1b
commit 170ef84b18
5 changed files with 13 additions and 13 deletions

View file

@ -1,4 +1,4 @@
import HTMLElement from './nodes/html';
import HTMLElement from './nodes/html.ts';
interface MatherFunction {
func(el: HTMLElement, tagName: string, classes: string[] | string, attr_key: string, value: string): boolean;

View file

@ -1,5 +1,5 @@
import Node from './node';
import NodeType from './type';
import Node from './node.ts';
import NodeType from './type.ts';
export default class CommentNode extends Node {
constructor(value: string) {

View file

@ -1,10 +1,10 @@
import { decode } from 'he';
import Node from './node';
import NodeType from './type';
import TextNode from './text';
import Matcher from '../matcher';
import arr_back from '../back';
import CommentNode from './comment';
import { decode } from 'https://raw.githubusercontent.com/mathiasbynens/he/master/src/he.js';
import Node from './node.ts';
import NodeType from './type.ts';
import TextNode from './text.ts';
import Matcher from '../matcher.ts';
import arr_back from '../back.ts';
import CommentNode from './comment.ts';
export interface KeyAttributes {
id?: string;

View file

@ -1,4 +1,4 @@
import NodeType from './type';
import NodeType from './type.ts';
/**
* Node Class as base class for TextNode and HTMLElement.

View file

@ -1,5 +1,5 @@
import NodeType from './type';
import Node from './node';
import NodeType from './type.ts';
import Node from './node.ts';
/**
* TextNode to contain a text element in DOM tree.