Skip to content

Instantly share code, notes, and snippets.

@dwi2
Created December 24, 2015 09:40
Show Gist options
  • Save dwi2/9c7f2e6d11afd8cca2a8 to your computer and use it in GitHub Desktop.
Save dwi2/9c7f2e6d11afd8cca2a8 to your computer and use it in GitHub Desktop.
snippet to test entry sheet
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