Skip to content

Commit

Permalink
💚 Fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
abe33 committed Dec 6, 2015
1 parent fdf3506 commit 0e6e9ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/minimap-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -862,18 +862,18 @@ class MinimapElement {
// ## ## ## ## ## ## ## ### ##
// ######## ######## ######## ## ## ######## ## ## ##

let elementClass = registerOrUpdateElement('atom-text-editor-minimap', MinimapElement.prototype)
let MinimapHTMLElement = registerOrUpdateElement('atom-text-editor-minimap', MinimapElement.prototype)

// Public: The method that registers the {MinimapElement} factory in the
// `atom.views` registry with the passed-in model.
//
// model - The model class to registers the factory with.
elementClass.registerViewProvider = function () {
MinimapHTMLElement.registerViewProvider = function () {
atom.views.addViewProvider(require('./minimap'), function (model) {
var element = new elementClass()
var element = new MinimapHTMLElement()
element.setModel(model)
return element
})
}

export default elementClass
export default MinimapHTMLElement

0 comments on commit 0e6e9ac

Please sign in to comment.