Created
December 24, 2015 09:40
-
-
Save dwi2/9c7f2e6d11afd8cca2a8 to your computer and use it in GitHub Desktop.
snippet to test entry sheet
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
var theEntrySheet; | |
LazyLoader.load(['js/entry_sheet.js']).then(function() { | |
theEntrySheet = new EntrySheet( | |
document.getElementById('screen'), | |
// Prefix url with LRM character | |
// This ensures truncation occurs correctly in an RTL document | |
// We can remove this when bug 1154438 is fixed. | |
'\u200E' + 'http://10.2.10.85:8080', | |
new BrowserFrame({url: 'http://10.2.10.85:8080'}) | |
); | |
theEntrySheet.open(); | |
}).catch((e) => { | |
console.log(e); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment