Skip to content

Commit

Permalink
add doctype html
Browse files Browse the repository at this point in the history
  • Loading branch information
Pietro Vertechi committed Jun 4, 2018
1 parent e0a2b46 commit 387e8c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/content/main.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<html>
<head>
<script>var id = {{id}}</script>
Expand Down
3 changes: 3 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ w = Window(Blink.@d(:show => false)); sleep(5.0)

@test sprint(Blink.jsexpr, :(Dict("a" => 1, :b => 10))) == "{\"a\":1,b:10}"

# check that <!DOCTYPE html> was declared
@test startswith(Blink.maintp.tokens[1][2], "<!DOCTYPE html>\n")

include("content/api.jl");
include("AtomShell/window.jl");

Expand Down

0 comments on commit 387e8c1

Please sign in to comment.