set up pdf viewer app in base

This commit is contained in:
Brian Gough 2014-11-26 16:18:39 +00:00
parent d0fb34b2aa
commit 7b66802bf5
2 changed files with 11 additions and 4 deletions

View file

@ -2,6 +2,13 @@ define [
"libs"
"modules/recursionHelper"
"utils/underscore"
# TODo move these into a separate definition
"ide/pdfng/directives/pdfViewer"
"ide/pdfng/directives/pdfPage"
"ide/pdfng/directives/pdfRenderer"
"ide/pdfng/directives/pdfTextLayer"
"ide/pdfng/directives/pdfAnnotations"
"ide/pdfng/directives/pdfHighlights"
], () ->
App = angular.module("SharelatexApp", [
"ui.bootstrap"

View file

@ -1,18 +1,18 @@
define [
"base"
"ide/pdfng/directives/pdfViewer"
"ide/pdfng/directives/pdfPage"
"ide/pdfng/directives/pdfRenderer"
"ide/pdfng/directives/pdfTextLayer"
"ide/pdfng/directives/pdfAnnotations"
"ide/pdfng/directives/pdfHighlights"
"ide/pdfng/directives/pdfRenderer"
"ide/pdfng/directives/pdfPage"
"ide/pdfng/directives/pdfViewer"
"libs/pdf"
"text!libs/pdfListView/TextLayer.css"
"text!libs/pdfListView/AnnotationsLayer.css"
"text!libs/pdfListView/HighlightsLayer.css"
], (
App
pdfViewerApp
pdfViewer
pdfPage
pdfRenderer
pdfTextLayer