Skip to content

Commit

Permalink
fixed for polymer 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianAdams committed May 10, 2015
1 parent 8687484 commit e9cfeac
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "openrov-mjpeg-video-webcomponent",
"version": "1.0.6",
"version": "1.1.0",
"homepage": "https://github.com/BrianAdams/mjpeg-video-webcomponent",
"authors": [
"BrianAdams <[email protected]>"
Expand Down
4 changes: 0 additions & 4 deletions example/bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,5 @@
"dependencies": {
"core-component-page": "Polymer/core-component-page#>=0.3.0 <1.0.0",
"mjpeg-video-webcomponent": "../#~1.0.6"
},
"resolutions": {
"core-component-page": "^0.5",
"polymer": "^0.5"
}
}
2 changes: 1 addition & 1 deletion example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<!-- 1. Load platform support before any code that touches the DOM. -->
<script src=".bower_components/platform/platform.js"></script>
<script src=".bower_components/webcomponentsjs/webcomponents.js"></script>
<!-- 2. Load the component using an HTML Import -->
<link rel="import" href=".bower_components/mjpeg-video-webcomponent/mjpeg-video.html">
</head>
Expand Down
4 changes: 2 additions & 2 deletions mjpeg-video.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<link rel="import" href="../polymer/polymer.html">

<polymer-element name="mjpeg-video" attributes="src novideoImageURL framespersecond fullscreenbtn" noscript>
<polymer-element name="mjpeg-video" attributes="src novideoImageURL framespersecond fullscreenbtn">
<script src="fullscreen-api-polyfill.js"></script>
<template>
<style>
Expand All @@ -21,7 +21,7 @@
</template>
<script>
(function() {
Polymer('mjpeg-video', {
Polymer({
// These default values are overridden
// by the user's attribute values.
src: "http://127.0.0.1:8090/?action=stream",
Expand Down

0 comments on commit e9cfeac

Please sign in to comment.