Skip to content

Commit

Permalink
release 0.2.3 with custom headers
Browse files Browse the repository at this point in the history
  • Loading branch information
winkerVSbecks committed Feb 9, 2015
1 parent 5a80694 commit 20865c9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-pdf-viewer",
"version": "0.2.2",
"version": "0.2.3",
"description": "An AngularJS directive to display PDFs",
"main": "./dist/angular-pdf-viewer.min.js",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-pdf-viewer",
"version": "0.2.2",
"version": "0.2.3",
"author": "Varun Vachhar",
"description": "An AngularJS directive to display PDFs",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Angular PDF Viewer (0.2.2)
# Angular PDF Viewer (0.2.3)

An AngularJS directive to display PDFs. [DEMO](http://codepen.io/winkerVSbecks/full/50010e383d0f80deab97858571400d86/)

Expand Down
2 changes: 1 addition & 1 deletion src/js/pdf-ctrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ angular.module('pdf')
url = _url;
}

docInitParams = new Object();
var docInitParams = {};

if (headers) {
docInitParams.url = url;
Expand Down

0 comments on commit 20865c9

Please sign in to comment.