Comments (4)
Inserting Theseus first is the easiest, most fool-proof way to do it programmatically.
Does it cause problems for Polymer, or does it just trigger a warning?
from theseus.
I guessed so and it triggers the warning and causes problems. Some elements stop working.
from theseus.
Could you give me an example, or will it be obvious if I open a Polymer example project?
from theseus.
It is pretty obvious. With Polymer you include platform.js
and it should be the first javascript in the head tag. Like this:
<html>
<head>
<script src="/bower_components/platform/platform.js"></script>
...
</head>
...
</html>
With Theseus on it looks like
<html>
<head>
<script>theseus stuff here</script>
<script src="/bower_components/platform/platform.js"></script>
</head>
...
</html>
If you look at the Sources tab of Chrome dev tools it displays the Theseus script tag even before the html tag.
Also I found that, at least in my version of chrome, it doesn't give the error stated above but it will just give the errors caused by it.
from theseus.
Related Issues (20)
- 0 calls highlight is not visible with "Brackets Dark" theme HOT 1
- PreferencesManager.convertPreferences() is deprecated HOT 1
- Support for Web Workers HOT 1
- Will this work with Meteor.js HOT 5
- Websocket connection failed HOT 9
- Exception in 'editorChange' listener on
- node-theseus and grunt HOT 2
- Theseus's developer is AFK until August 14 :) HOT 1
- Can I use theseus + brackets without Live Preview?
- Adding Function Runtime
- Calls Label Disappearing
- es6 arrow operator not working HOT 4
- Clicking on calls doesnt open log tab
- Empty log when using Theseus HOT 6
- Launching live preview fails in brackets 1.7 with theseus 0.4.19
- Theseus dead? HOT 1
- Installation fails from Brackets IDE HOT 3
- Live preview highlight not working.
- Cannot install on Windows 10 HOT 5
- Th
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from theseus.