main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
384 bytes
|
Rev | Line | |
---|
[d565449] | 1 | var selection = document.getSelection();
|
---|
| 2 |
|
---|
| 3 | document.addEventListener('DOMContentLoaded', function(event) {
|
---|
| 4 | setTimeout(function() {
|
---|
| 5 | if (!selection.rangeCount) { // for demo purposes only
|
---|
| 6 | return;
|
---|
| 7 | }
|
---|
| 8 | reselect = module.exports();
|
---|
| 9 | setTimeout(function() {
|
---|
| 10 | reselect();
|
---|
| 11 | console.log('reselected');
|
---|
| 12 | }, 1000);
|
---|
| 13 |
|
---|
| 14 | console.log('deselected');
|
---|
| 15 | }, 2000);
|
---|
| 16 | }); |
---|
Note:
See
TracBrowser
for help on using the repository browser.