cleaning up

This commit is contained in:
Anton Georgiev 2014-07-31 19:13:00 +00:00
parent b0cc462953
commit df0d0668c0
2 changed files with 0 additions and 3 deletions

View File

@ -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)

View File

@ -5,7 +5,6 @@
<div id="whiteboard-paper" style="position: fixed; top: 10%; left: 30%;">
<p>
{{png}}
<!-- {{displayShapeOnSlide}} -->
</p>
</div>
</template>