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
This commit is contained in:
Eric Seidel 2015-01-28 11:00:52 -08:00
parent 00842383fd
commit cfd21dfd13
7 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,4 @@
#!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

View File

@ -1,3 +1,4 @@
#!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

View File

@ -1,3 +1,4 @@
#!mojo mojo:sky_viewer
<sky> <sky>
<import src="flights-app.sky" as="FlightsAppElement"/> <import src="flights-app.sky" as="FlightsAppElement"/>
<style> <style>

View File

@ -1,3 +1,4 @@
#!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

View File

@ -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)

View File

@ -1,3 +1,4 @@
#!mojo mojo:sky_viewer
<sky> <sky>
<import src="fps-counter.sky" /> <import src="fps-counter.sky" />
<style> <style>

View File

@ -1,3 +1,4 @@
#!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