Permalink
Browse files

Removed unnecessary args being passed to removePage

  • Loading branch information...
1 parent 0f82be9 commit 6e84692b177737d18ffcde4667c846a1b70af000 @niftylettuce committed Mar 11, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 lib/document.coffee
  2. +1 −1 lib/store.coffee
View
4 lib/document.coffee
@@ -73,9 +73,9 @@ class PDFDocument
return this
- removePage: (options = @options) ->
+ removePage: ->
# remove a page
- @store.removePage @page
+ @store.removePage
@pages.pop
return this
View
2 lib/store.coffee
@@ -32,7 +32,7 @@ class PDFObjectStore
@pages.data['Kids'].push(page.dictionary)
@pages.data['Count']++
- removePage: (page) ->
+ removePage: ->
@pages.data['Kids'].pop
@pages.data['Count']--

0 comments on commit 6e84692

Please sign in to comment.