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:
parent
00842383fd
commit
cfd21dfd13
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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>
|
||||||
|
@ -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
|
||||||
|
@ -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)
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!mojo mojo:sky_viewer
|
||||||
<sky>
|
<sky>
|
||||||
<import src="fps-counter.sky" />
|
<import src="fps-counter.sky" />
|
||||||
<style>
|
<style>
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user