From db27db36e23187967336676b26b1a6fa74d85eec Mon Sep 17 00:00:00 2001 From: Rich-Harris Date: Sat, 19 Sep 2015 23:00:12 +0200 Subject: [PATCH] add mark method to base Identifier class (makes project buildable) --- src/Scope.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Scope.js b/src/Scope.js index 1c04fae..d1ab083 100644 --- a/src/Scope.js +++ b/src/Scope.js @@ -2,8 +2,14 @@ import { blank, keys } from './utils/object'; // A minimal `Identifier` implementation. Anything that has an `originalName`, // and a mutable `name` property can be used as an `Identifier`. -function Identifier ( name ) { - this.originalName = this.name = name; +class Identifier { + constructor ( name ) { + this.originalName = this.name = name; + } + + mark () { + // noop + } } // A reference to an `Identifier`.