Last active
October 19, 2015 15:21
-
-
Save antw/3c86b4df34281d768ca5 to your computer and use it in GitHub Desktop.
Old-style JS class
This file contains 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
function TopologyPreviewer(topologyGraph, presetData, style) { | |
// Private variables. | |
var privateOne, privateTwo; | |
// Public variables. | |
this.publicOne = 1; | |
this.publicTwo = 2; | |
// Public methods. | |
this.preview = function() { | |
// ... | |
} | |
// Private methods. | |
function updateTree(source) { | |
// ... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment