Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

Commit

Permalink
Remove use strict in elements. Fixes #80
Browse files Browse the repository at this point in the history
Unfortunately you can only use `strict` mode if you never use
`super()`. There is at present no workaround to this problem and so we
need to drop this from the element boilerplate.
  • Loading branch information
addyosmani committed Oct 9, 2014
1 parent 9333f92 commit d084a3b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/templates/app/yo-greeting.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ <h1>{{ greeting }}, {{ greeting }}!</h1>
</template>
<script>
(function () {
'use strict';

Polymer({
greeting : '\'Allo'
Expand Down
1 change: 0 additions & 1 deletion app/templates/app/yo-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
</template>
<script>
(function () {
'use strict';

Polymer({
ready: function() {
Expand Down
1 change: 0 additions & 1 deletion el/templates/_element.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
</template>
<script>
(function () {
'use strict';

Polymer({
// define element prototype here
Expand Down

0 comments on commit d084a3b

Please sign in to comment.