Compare commits
No commits in common. "d38f692558e4f7e5d6da90ec3e9f83c64141d2b8" and "696181333574248d8393e0636f6cb92adef34d82" have entirely different histories.
d38f692558
...
6961813335
1 changed files with 1 additions and 6 deletions
|
@ -1,9 +1,5 @@
|
|||
let txtjs = {}
|
||||
|
||||
Ox.load({UI: {loadCSS: false}}, function() {
|
||||
// ...
|
||||
})
|
||||
|
||||
txtjs.open = function(url) {
|
||||
fetch(url).then(function(response) {
|
||||
return response.text()
|
||||
|
@ -215,8 +211,7 @@ txtjs.onMessage = function(action, data) {
|
|||
|
||||
txtjs.postMessage = function(action, data) {
|
||||
console.log('postMessage', action, data)
|
||||
//parent.postMessage(JSON.stringify({action: action, data: data}), '*')
|
||||
Ox.$parent.postMessage(action.replace('Note', 'Annotation'), data)
|
||||
parent.postMessage(JSON.stringify({action: action, data: data}), '*')
|
||||
}
|
||||
|
||||
txtjs.removeNote = function() {
|
||||
|
|
Loading…
Reference in a new issue