diff --git a/lib/mixins/canvas-drawer.coffee b/lib/mixins/canvas-drawer.coffee index 35f3eaef..e7d0a597 100644 --- a/lib/mixins/canvas-drawer.coffee +++ b/lib/mixins/canvas-drawer.coffee @@ -74,10 +74,7 @@ class CanvasDrawer extends Mixin # token - A token {Object}. # # Returns a {String}. - getTokenColor: (token) -> - #Retrieve color from cache if available - flatScopes = (token.scopeDescriptor or token.scopes).join() - @retrieveTokenColorFromDom(token) + getTokenColor: (token) -> @retrieveTokenColorFromDom(token) # Returns the background color for the passed-in `decoration` object. #