Commit cfd21dfd authored by Eric Seidel's avatar Eric Seidel

Add a very basic deploy script for mojo.

We could do something much more sophisticated for deploy in the future.

Also add #!mojo:sky_viewer to .sky file demos

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/885653006
parent 00842383
#!mojo mojo:sky_viewer
<!-- <!--
// Copyright 2015 The Chromium Authors. All rights reserved. // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
......
#!mojo mojo:sky_viewer
<!-- <!--
// Copyright 2014 The Chromium Authors. All rights reserved. // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
......
#!mojo mojo:sky_viewer
<sky> <sky>
<import src="flights-app.sky" as="FlightsAppElement"/> <import src="flights-app.sky" as="FlightsAppElement"/>
<style> <style>
......
#!mojo mojo:sky_viewer
<!-- <!--
// Copyright 2015 The Chromium Authors. All rights reserved. // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
......
...@@ -65,7 +65,7 @@ SKY MODULE - radio button and radio button group ...@@ -65,7 +65,7 @@ SKY MODULE - radio button and radio button group
return child.name; return child.name;
return ''; return '';
} }
set value (name) { set value (name) {
let children = this.getChildNodes(); let children = this.getChildNodes();
for (let child of children) for (let child of children)
if (child instanceof module.exports.RadioElement) if (child instanceof module.exports.RadioElement)
......
#!mojo mojo:sky_viewer
<sky> <sky>
<import src="fps-counter.sky" /> <import src="fps-counter.sky" />
<style> <style>
......
#!mojo mojo:sky_viewer
<!-- <!--
// Copyright 2014 The Chromium Authors. All rights reserved. // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment