UNPKG
afterwriting-fork-rickschubert
Version:
latest (1.12.10)
1.12.10
1.12.9
Screewriting tools
github.com/ifrost/afterwriting-labs
ifrost/afterwriting-labs
afterwriting-fork-rickschubert
/
js
/
plugin
/
preview
/
controller
/
preview-controller.js
18 lines
(12 loc)
•
363 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
define
(
function
(
require
) {
var
Protoplast
=
require
(
'protoplast'
);
var
PreviewController
=
Protoplast
.
extend
({
pdfContoller
: {
inject
:
'pdf'
},
getPdf
:
function
(
callback
) {
this
.
pdfContoller
.
getPdf
(callback); } });
return
PreviewController
; });