cleaning up
This commit is contained in:
parent
b0cc462953
commit
df0d0668c0
@ -9,7 +9,6 @@ Template.whiteboard.png = ->
|
||||
Template.whiteboard.displayShapeOnSlide();
|
||||
)
|
||||
|
||||
|
||||
Template.whiteboard.helpers
|
||||
displayShapeOnSlide: ->
|
||||
currentPresentation = Meteor.Presentations.findOne({"presentation.current": true})
|
||||
@ -39,7 +38,6 @@ Template.whiteboard.helpers
|
||||
presentationId = currentPresentation?.presentation?.id
|
||||
currentSlide = Meteor.Slides.findOne({"presentationId": presentationId, "slide.current": true})
|
||||
|
||||
console.log "HOHOOO" + currentSlide?.slide?.png_uri
|
||||
whiteboardPaperModel.create() #TODO maybe move this to main.coffee
|
||||
whiteboardPaperModel._displayPage(currentSlide?.slide?.png_uri)
|
||||
callback(currentSlide?.slide)
|
||||
|
@ -5,7 +5,6 @@
|
||||
<div id="whiteboard-paper" style="position: fixed; top: 10%; left: 30%;">
|
||||
<p>
|
||||
{{png}}
|
||||
<!-- {{displayShapeOnSlide}} -->
|
||||
</p>
|
||||
</div>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user