Skip to content

Commit

Permalink
https://github.com/atom/atom-shell/blob/master/docs/api/frameless-win…
Browse files Browse the repository at this point in the history
…dow.md

Polymer/polymer#913

Directly running from source.
  • Loading branch information
lygstate committed Dec 22, 2014
1 parent 724bf9f commit 2a6296e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion run.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
taskkill /f /t /im atom.exe
cd /d "%~dp0"
call "%CD%\build\win32\atom-shell\atom"
call "%CD%\build\win32\atom-shell\atom" "%CD%\src"
pause
5 changes: 3 additions & 2 deletions src/index.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
<html>
<head>
<title>Node webkit + polymer example</title>
<script src="components/webcomponentsjs/webcomponents.js">
<script src="components/platform/platform.js"></script>
<link rel="import" href="example-element/example-element.html">
</head>
<body>
<body style="-webkit-app-region: drag; background:transparent">
<div>In the body!</div>

<example-element> </example-element>

<script>
window.addEventListener('polymer-ready', function() {
var exampleElementInst = document.querySelector('example-element');
var exampleElementInst = document.querySelector('example-element');
console.log("exampleElementInst",exampleElementInst);
});
</script>
Expand Down

0 comments on commit 2a6296e

Please sign in to comment.