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

Commit

Permalink
Fix #313
Browse files Browse the repository at this point in the history
  • Loading branch information
kwalrath committed Mar 16, 2016
1 parent b39caa5 commit 47a9588
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 21 deletions.
43 changes: 22 additions & 21 deletions lib/generators/web_polymer_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -52,27 +52,28 @@ SVRZIE9GIFNVQ0ggREFNQUdFLgo=""",
"""Ly8gQ29weXJpZ2h0IChjKSBfX3llYXJfXywgX19hdXRob3JfXy4gQWxsIHJpZ2h0cyByZXNlcnZl
ZC4gVXNlIG9mIHRoaXMgc291cmNlIGNvZGUKLy8gaXMgZ292ZXJuZWQgYnkgYSBCU0Qtc3R5bGUg
bGljZW5zZSB0aGF0IGNhbiBiZSBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlLgpASHRtbEltcG9y
dCgnbWFpbl9hcHAuaHRtbCcpCmltcG9ydCAnZGFydDpodG1sJzsKCmltcG9ydCAncGFja2FnZTpw
b2x5bWVyX2VsZW1lbnRzL3BhcGVyX2lucHV0LmRhcnQnOwppbXBvcnQgJ3BhY2thZ2U6cG9seW1l
ci9wb2x5bWVyLmRhcnQnOwppbXBvcnQgJ3BhY2thZ2U6d2ViX2NvbXBvbmVudHMvd2ViX2NvbXBv
bmVudHMuZGFydCc7CgovLy8gVXNlcyBbUGFwZXJJbnB1dF0KQFBvbHltZXJSZWdpc3RlcignbWFp
bi1hcHAnKQpjbGFzcyBNYWluQXBwIGV4dGVuZHMgUG9seW1lckVsZW1lbnQgewogIEBwcm9wZXJ0
eQogIFN0cmluZyB0ZXh0OwoKICAvLy8gQ29uc3RydWN0b3IgdXNlZCB0byBjcmVhdGUgaW5zdGFu
Y2Ugb2YgTWFpbkFwcC4KICBNYWluQXBwLmNyZWF0ZWQoKSA6IHN1cGVyLmNyZWF0ZWQoKTsKCiAg
QHJlZmxlY3RhYmxlCiAgU3RyaW5nIHJld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WNoZWQoKSB7
Ci8vICAgIHN1cGVyLmRldGFjaGVkKCk7Ci8vICB9CgovLyAgLy8vIENhbGxlZCB3aGVuIGFuIGF0
dHJpYnV0ZSAoc3VjaCBhcyBhIGNsYXNzKSBvZiBhbiBpbnN0YW5jZSBvZgovLyAgLy8vIG1haW4t
YXBwIGlzIGFkZGVkLCBjaGFuZ2VkLCBvciByZW1vdmVkLgovLyAgYXR0cmlidXRlQ2hhbmdlZChT
dHJpbmcgbmFtZSwgU3RyaW5nIG9sZFZhbHVlLCBTdHJpbmcgbmV3VmFsdWUpIHsKLy8gICAgc3Vw
ZXIuYXR0cmlidXRlQ2hhbmdlZChuYW1lLCBvbGRWYWx1ZSwgbmV3VmFsdWUpOwovLyAgfQoKLy8g
IC8vLyBDYWxsZWQgd2hlbiBtYWluLWFwcCBoYXMgYmVlbiBmdWxseSBwcmVwYXJlZCAoU2hhZG93
IERPTSBjcmVhdGVkLAovLyAgLy8vIHByb3BlcnR5IG9ic2VydmVycyBzZXQgdXAsIGV2ZW50IGxp
c3RlbmVycyBhdHRhY2hlZCkuCi8vICByZWFkeSgpIHsKLy8gIH0KfQo=""",
"lib/main_app.html",
"text",
"""PCEtLQogIENvcHlyaWdodCAoYykgX195ZWFyX18sIF9fYXV0aG9yX18uIEFsbCByaWdodHMgcmVz
Expand Down
2 changes: 2 additions & 0 deletions templates/web-polymer/lib/main_app.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) __year__, __author__. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.
@HtmlImport('main_app.html')
library __projectName__.lib.main_app;

import 'dart:html';

import 'package:polymer_elements/paper_input.dart';
Expand Down

0 comments on commit 47a9588

Please sign in to comment.