Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Commit

Permalink
Merge pull request #262 from google/ddc_bump_version
Browse files Browse the repository at this point in the history
bump the stagehand version
  • Loading branch information
devoncarew committed Aug 17, 2015
2 parents e6c9cac + 9aa7d97 commit 7b5713f
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 27 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.idea
.DS_Store
cache/
.packages
packages
pubspec.lock
build
Expand Down
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# CHANGELOG

## 0.2.2+1
- Moved the script tags for the web templates into the head section

## 0.2.2
- added a `console-simple` template
- updated the `web-simple` and `web-full` templates
- Added a `console-simple` template
- Updated the `web-simple` and `web-full` templates

## 0.2.1
- All templates updated to use the latest `test` package
Expand Down
35 changes: 17 additions & 18 deletions lib/generators/web_full_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,8 @@ CiAgPCEtLSBUT0RPOiBUbyB1c2UgU2Fzcywgc3dhcCB0aGUgdHdvIHN0eWxlc2hlZXQgcmVmZXJl
bmNlcyBhbmQKICAgICAgIHVuY29tbWVudCB0aGUgc2FzcyB0cmFuc2Zvcm1lciBpbiB0aGUgcHVi
c3BlYy55YW1sIGZpbGUuIC0tPgogIDxsaW5rIHJlbD0ic3R5bGVzaGVldCIgaHJlZj0ic3R5bGVz
L21haW5fZ2VuLmNzcyI+CiAgPCEtLSBsaW5rIHJlbD0ic3R5bGVzaGVldCIgaHJlZj0ic3R5bGVz
L21haW4uY3NzIiAtLT4KCiAgPHNjcmlwdCBhc3luYyB0eXBlPSJhcHBsaWNhdGlvbi9kYXJ0IiBz
cmM9Im1haW4uZGFydCI+PC9zY3JpcHQ+CiAgPHNjcmlwdCBhc3luYyBzcmM9InBhY2thZ2VzL2Jy
L21haW4uY3NzIiAtLT4KCiAgPHNjcmlwdCBhc3lu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9ImRpc3BsYXk6bm9uZSI+CiAgICAgIDxwPgog
ICAgICAgIFRoaXMgaXMgYSBiYXNpYyBkZW1vIEhUTUwgYXBwIGJ1aWx0IHdpdGggRGFydC4gRm9y
IGRldmVsb3BlcnMgdGhhdCBkbwogICAgICAgIG5vdCB3YW50IHRvLCBvciBjYW5ub3QsIHVzZSBw
b2x5bWVyLmRhcnQsIHRoaXMgaXMgYW4gb3B0aW9uYWwgc3RhcnRpbmcKICAgICAgICBwb2ludC4K
ICAgICAgPC9wPgogICAgICA8cD4KICAgICAgICBUaGlzIGFwcCB3YXMgZ2VuZXJhdGVkIGJ5IDxh
IGhyZWY9Imh0dHA6Ly9zdGFnZWhhbmQucHViIj5TdGFnZWhhbmQ8L2E+LgogICAgICA8L3A+CiAg
ICA8L2Rpdj4KCiAgICA8ZGl2IGNsYXNzPSJzYXNzLWhpZGRlbiI+CiAgICAgIDxwPgogICAgICAg
IE5vdGU6IFRvIHVzZSBTYXNzIHdpdGggdGhpcyBhcHBsaWNhdGlvbiwgc3dpdGNoIHRoZSBzdHls
ZXNoZWV0CiAgICAgICAgcmVmZXJlbmNlcyBpbiB0aGUgJmx0O2hlYWQmZ3Q7IHNlY3Rpb24gYW5k
IHVuY29tbWVudCB0aGUgc2FzcwogICAgICAgIHRyYW5zZm9ybWVyIGluIHRoZSBwdWJzcGVjLnlh
bWwgZmlsZS4KICAgICAgPC9wPgogICAgPC9kaXY+CiAgPC9tYWluPgo8L2JvZHk+CjwvaHRtbD4K""",
"web/main.dart",
"text",
"""Ly8gQ29weXJpZ2h0IChjKSB7e3llYXJ9fSwge3thdXRob3J9fS4gQWxsIHJpZ2h0cyByZXNlcnZl
Expand Down
4 changes: 2 additions & 2 deletions lib/generators/web_simple_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ ICAgIDxtZXRhIG5hbWU9InZpZXdwb3J0IiBjb250ZW50PSJ3aWR0aD1kZXZpY2Utd2lkdGgsIGlu
aXRpYWwtc2NhbGU9MS4wIj4KICAgIDxtZXRhIG5hbWU9InNjYWZmb2xkZWQtYnkiIGNvbnRlbnQ9
Imh0dHBzOi8vZ2l0aHViLmNvbS9nb29nbGUvc3RhZ2VoYW5kIj4KICAgIDx0aXRsZT57e3Byb2pl
Y3ROYW1lfX08L3RpdGxlPgogICAgPGxpbmsgcmVsPSJzdHlsZXNoZWV0IiBocmVmPSJzdHlsZXMu
Y3NzIj4KICAgIDxzY3JpcHQgYXN5bmMgdHlwZT0iYXBwbGljYXRpb24vZGFydCIgc3JjPSJtYWlu
LmRhcnQiPjwvc2NyaXB0PgogICAgPHNjcmlwdCBhc3luYyBzcmM9InBhY2thZ2VzL2Jyb3dzZXIv
Y3NzIj4KICAgIDxzY3JpcHQgYXN5bmMgc3JjPSJtYWluLmRhcnQiIHR5cGU9ImFwcGxpY2F0aW9u
L2RhcnQiPjwvc2NyaXB0PgogICAgPHNjcmlwdCBhc3luYyBzcmM9InBhY2thZ2VzL2Jyb3dzZXIv
ZGFydC5qcyI+PC9zY3JpcHQ+CjwvaGVhZD4KCjxib2R5PgoKICA8ZGl2IGlkPSJvdXRwdXQiPjwv
ZGl2PgoKPC9ib2R5Pgo8L2h0bWw+Cg==""",
"web/main.dart",
Expand Down
2 changes: 1 addition & 1 deletion lib/src/cli_app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import 'package:usage/usage_io.dart';
const String APP_NAME = 'stagehand';

// This version must be updated in tandem with the pubspec version.
const String APP_VERSION = '0.2.2';
const String APP_VERSION = '0.2.2+1';

const String APP_PUB_INFO =
'https://pub.dartlang.org/packages/${APP_NAME}.json';
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

name: stagehand
# When changing this version, change the lib/src/cli_app.dart version as well.
version: 0.2.2
version: 0.2.2+1
description: >
A scaffolding generator for your Dart projects. Stagehand helps you get set
up!
Expand Down
3 changes: 1 addition & 2 deletions templates/web-full/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<link rel="stylesheet" href="styles/main_gen.css">
<!-- link rel="stylesheet" href="styles/main.css" -->

<script async type="application/dart" src="main.dart"></script>
<script async src="main.dart" type="application/dart"></script>
<script async src="packages/browser/dart.js"></script>
</head>

Expand Down Expand Up @@ -62,7 +62,6 @@ <h4>Navigation</h4>
<!-- contains different views as divs, which the routing system
displays or hides when the URL changes -->
<main>

<div id="home">
<p>
Name:<br>
Expand Down
2 changes: 1 addition & 1 deletion templates/web-simple/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<meta name="scaffolded-by" content="https://github.com/google/stagehand">
<title>{{projectName}}</title>
<link rel="stylesheet" href="styles.css">
<script async type="application/dart" src="main.dart"></script>
<script async src="main.dart" type="application/dart"></script>
<script async src="packages/browser/dart.js"></script>
</head>

Expand Down

0 comments on commit 7b5713f

Please sign in to comment.