Merge pull request #1669 from hokein/pdf-dll

Load pdf library dynamically
This commit is contained in:
Cheng Zhao 2015-05-26 12:41:51 +08:00
commit 904b75ab4a
9 changed files with 268 additions and 166 deletions

View file

@ -543,6 +543,10 @@ up system's default printer and default settings for printing.
Calling `window.print()` in web page is equivalent to call
`BrowserWindow.print({silent: false, printBackground: false})`.
**Note:** On Windows, the print API relies on `pdf.dll`. If your application
doesn't need print feature, you can safely remove `pdf.dll` in saving binary
size.
### BrowserWindow.loadUrl(url)
Same with `webContents.loadUrl(url)`.