From fb9d7cdb28cce6b2989a960508116359b2541990 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Wed, 18 Apr 2018 13:59:44 -0400 Subject: [PATCH] remove obsolete hash stuff --- src/interfaces.ts | 1 - src/parse/index.ts | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/interfaces.ts b/src/interfaces.ts index c49ea0494f..a2e25cb5e8 100644 --- a/src/interfaces.ts +++ b/src/interfaces.ts @@ -21,7 +21,6 @@ export interface Parser { } export interface Parsed { - hash: number; html: Node; css: Node; js: Node; diff --git a/src/parse/index.ts b/src/parse/index.ts index 1ea91e040b..1bf3e2e589 100644 --- a/src/parse/index.ts +++ b/src/parse/index.ts @@ -5,7 +5,6 @@ import { whitespace } from '../utils/patterns'; import { trimStart, trimEnd } from '../utils/trim'; import reservedNames from '../utils/reservedNames'; import fullCharCodeAt from '../utils/fullCharCodeAt'; -import hash from '../utils/hash'; import { Node, Parsed } from '../interfaces'; import error from '../utils/error'; @@ -224,7 +223,6 @@ export default function parse( ): Parsed { const parser = new Parser(template, options); return { - hash: hash(parser.template), html: parser.html, css: parser.css, js: parser.js,