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

Commit

Permalink
generate: yield const data
Browse files Browse the repository at this point in the history
Should not be writable
  • Loading branch information
kevmoo committed Oct 16, 2015
1 parent 5b9b361 commit d3ec8a3
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lib/generators/console_full_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

List<String> data = [
const List<String> data = const <String>[
".gitignore",
"text",
"""LmJ1aWxkbG9nCi5EU19TdG9yZQouaWRlYQoucGFja2FnZXMKLnB1Yi8KYnVpbGQvCnBhY2thZ2Vz
Expand Down
2 changes: 1 addition & 1 deletion lib/generators/console_simple_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

List<String> data = [
const List<String> data = const <String>[
"bin/main.dart",
"text",
"bWFpbihMaXN0PFN0cmluZz4gYXJncykgewogIHByaW50KCdIZWxsbyB3b3JsZCEnKTsKfQo=",
Expand Down
2 changes: 1 addition & 1 deletion lib/generators/package_simple_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

List<String> data = [
const List<String> data = const <String>[
".gitignore",
"text",
"""LmJ1aWxkbG9nCi5EU19TdG9yZQouaWRlYQoucGFja2FnZXMKLnB1Yi8KYnVpbGQvCnBhY2thZ2Vz
Expand Down
2 changes: 1 addition & 1 deletion lib/generators/server_appengine_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

List<String> data = [
const List<String> data = const <String>[
".gitignore",
"text",
"""LmJ1aWxkbG9nCi5EU19TdG9yZQouaWRlYQoucGFja2FnZXMKLnB1Yi8KYnVpbGQvCnBhY2thZ2Vz
Expand Down
2 changes: 1 addition & 1 deletion lib/generators/server_shelf_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

List<String> data = [
const List<String> data = const <String>[
".gitignore",
"text",
"""LmJ1aWxkbG9nCi5EU19TdG9yZQouaWRlYQoucGFja2FnZXMKLnB1Yi8KYnVpbGQvCnBhY2thZ2Vz
Expand Down
2 changes: 1 addition & 1 deletion lib/generators/web_polymer_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

List<String> data = [
const List<String> data = const <String>[
".gitignore",
"text",
"""LmJ1aWxkbG9nCi5EU19TdG9yZQouaWRlYQoucGFja2FnZXMKLnB1Yi8KYnVpbGQvCnBhY2thZ2Vz
Expand Down
2 changes: 1 addition & 1 deletion lib/generators/web_simple_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

List<String> data = [
const List<String> data = const <String>[
".gitignore",
"text",
"""LmJ1aWxkbG9nCi5EU19TdG9yZQouaWRlYQoucGFja2FnZXMKLnB1Yi8KYnVpbGQvCnBhY2thZ2Vz
Expand Down
2 changes: 1 addition & 1 deletion tool/grind.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void _concatenateFiles(Directory src, File target) {
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
List<String> data = [
const List<String> data = const <String>[
${str}
];
""");
Expand Down

0 comments on commit d3ec8a3

Please sign in to comment.