Created
June 10, 2020 19:08
-
-
Save Vadbeg/6c880d1f8314d457e2d58cc08cde1a75 to your computer and use it in GitHub Desktop.
Pass your test without problems (maybe)
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
variety.viewport.typeset = function(strAddress) { | |
var driver = variety.viewport.driver; | |
delete driver.typesetString; | |
delete driver.typesetScale; | |
var s = this.recoverStrFromMemory(strAddress); | |
if(s == "0") s = "10"; | |
driver.typesetString = s.split('\n'); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment