Created
June 23, 2013 18:37
-
-
Save erikvold/5846016 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { Class } = require("sdk/core/heritage"); | |
const { Disposable } = require('sdk/core/disposable'); | |
let Ds = Class({ | |
implements: [ Disposable ], | |
setup: function() {}, | |
dispose: function() { | |
console.log('disposed!') | |
} | |
}); | |
let d = Ds(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment