Skip to content

Commit 15523a4

Browse files
committed
Merge pull request parallax#94 from rickygu/patch-1
basic.js semantic error
2 parents 3538d71 + c4c79a1 commit 15523a4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

examples/js/basic.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,13 +313,13 @@ function demoFromHTML() {
313313

314314
// source can be HTML-formatted string, or a reference
315315
// to an actual DOM element from which the text will be scraped.
316-
, source = $('#fromHTMLtestdiv')[0]
316+
source = $('#fromHTMLtestdiv')[0]
317317

318318
// we support special element handlers. Register them with jQuery-style
319319
// ID selector for either ID or node name. ("#iAmID", "div", "span" etc.)
320320
// There is no support for any other type of selectors
321321
// (class, of compound) at this time.
322-
, specialElementHandlers = {
322+
specialElementHandlers = {
323323
// element with id of "bypass" - jQuery style selector
324324
'#bypassme': function(element, renderer){
325325
// true = "handled elsewhere, bypass text extraction"
@@ -340,4 +340,4 @@ function demoFromHTML() {
340340
)
341341

342342
pdf.save('Test.pdf');
343-
}
343+
}

0 commit comments

Comments
 (0)