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 #307 from Kleak/master
Browse files Browse the repository at this point in the history
remove library keyword
  • Loading branch information
kwalrath committed Mar 7, 2016
2 parents f2bb2a5 + da4c5b5 commit c131eca
Show file tree
Hide file tree
Showing 31 changed files with 83 additions and 134 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ Kunal Deo <[email protected]>
Guillermo López-Anglada <[email protected]>
ntaoo <[email protected]>
Andrés Araujo <[email protected]>
Kevin Segaud <[email protected]>
2 changes: 0 additions & 2 deletions bin/stagehand.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

library stagehand.cli;

import 'dart:async';
import 'dart:io' as io;

Expand Down
2 changes: 0 additions & 2 deletions lib/generators/console_full.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

library stagehand.console.full;

import '../stagehand.dart';
import '../src/common.dart';
import 'console_full_data.dart';
Expand Down
14 changes: 6 additions & 8 deletions lib/generators/console_full_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,8 @@ cmxkOiAke19fcHJvamVjdE5hbWVfXy5jYWxjdWxhdGUoKX0hJyk7Cn0K""",
"text",
"""Ly8gQ29weXJpZ2h0IChjKSBfX3llYXJfXywgX19hdXRob3JfXy4gQWxsIHJpZ2h0cyByZXNlcnZl
ZC4gVXNlIG9mIHRoaXMgc291cmNlIGNvZGUKLy8gaXMgZ292ZXJuZWQgYnkgYSBCU0Qtc3R5bGUg
bGljZW5zZSB0aGF0IGNhbiBiZSBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlLgoKLy8vIFRoZSBf
X3Byb2plY3ROYW1lX18gbGlicmFyeS4KbGlicmFyeSBfX3Byb2plY3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CA0Mik7CiAgfSk7Cn0K"""
];
2 changes: 0 additions & 2 deletions lib/generators/console_simple.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

library stagehand.console.simple;

import '../stagehand.dart';
import '../src/common.dart';
import 'console_simple_data.dart';
Expand Down
2 changes: 0 additions & 2 deletions lib/generators/package_simple.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

library stagehand.package.simple;

import '../stagehand.dart';
import '../src/common.dart';
import 'package_simple_data.dart';
Expand Down
38 changes: 19 additions & 19 deletions lib/generators/package_simple_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,27 +56,27 @@ c3Vlcy9yZXBsYWNlbWUK""",
"text",
"""Ly8gQ29weXJpZ2h0IChjKSBfX3llYXJfXywgX19hdXRob3JfXy4gQWxsIHJpZ2h0cyByZXNlcnZl
ZC4gVXNlIG9mIHRoaXMgc291cmNlIGNvZGUKLy8gaXMgZ292ZXJuZWQgYnkgYSBCU0Qtc3R5bGUg
bGljZW5zZSB0aGF0IGNhbiBiZSBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlLgoKbGlicmFyeSBf
X3Byb2plY3ROYW1lX18uZXhhbXBsZTsKCmltcG9ydCAncGFja2FnZTpfX3Byb2plY3ROYW1lX18v
X19wcm9qZWN0TmFtZV9fLmRhcnQnOwoKbWFpbigpIHsKICB2YXIgYXdlc29tZSA9IG5ldyBBd2Vz
b21lKCk7CiAgcHJpbnQoJ2F3ZXNvbWU6ICR7YXdlc29tZS5pc0F3ZXNvbWV9Jyk7Cn0K""",
bGljZW5zZSB0aGF0IGNhbiBiZSBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlLgoKaW1wb3J0ICdw
YWNrYWdlOl9fcHJvamVjdE5hbWVfXy9fX3Byb2plY3ROYW1lX18uZGFydC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3ROYW1lX18vX19w
cm9qZWN0TmFtZV9fLmRhcnQnOwppbXBvcnQgJ3BhY2thZ2U6dGVzdC90ZXN0LmRhcnQnOwoKdm9p
ZCBtYWluKCkgewogIGdyb3VwKCdBIGdyb3VwIG9mIHRlc3RzJywgKCkgewogICAgQXdlc29tZSBh
d2Vzb21lOwoKICAgIHNldFVwKCgpIHsKICAgICAgYXdlc29tZSA9IG5ldyBBd2Vzb21lKCk7CiAg
ICB9KTsKCiAgICB0ZXN0KCdGaXJzdCBUZXN0JywgKCkgewogICAgICBleHBlY3QoYXdlc29tZS5p
c0F3ZXNvbWUsIGlzVHJ1ZSk7CiAgICB9KTsKICB9KTsKfQo="""
bGljZW5zZSB0aGF0IGNhbiBiZSBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlLgoKaW1wb3J0ICdw
YWNrYWdlOl9fcHJvamVjdE5hbWVfXy9fX3Byb2plY3ROYW1lX18uZGFydCc7CmltcG9ydCAncGFj
a2FnZTp0ZXN0L3Rlc3QuZGFydCc7Cgp2b2lkIG1haW4oKSB7CiAgZ3JvdXAoJ0EgZ3JvdXAgb2Yg
dGVzdHMnLCAoKSB7CiAgICBBd2Vzb21lIGF3ZXNvbWU7CgogICAgc2V0VXAoKCkgewogICAgICBh
d2Vzb21lID0gbmV3IEF3ZXNvbWUoKTsKICAgIH0pOwoKICAgIHRlc3QoJ0ZpcnN0IFRlc3QnLCAo
KSB7CiAgICAgIGV4cGVjdChhd2Vzb21lLmlzQXdlc29tZSwgaXNUcnVlKTsKICAgIH0pOwogIH0p
Owp9Cg=="""
];
2 changes: 0 additions & 2 deletions lib/generators/server_appengine.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

library stagehand.server.appengine;

import 'server_appengine_data.dart';
import '../stagehand.dart';
import '../src/common.dart';
Expand Down
55 changes: 27 additions & 28 deletions lib/generators/server_appengine_data.dart
Original file line number Diff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dHJpbmco
dmFsdWUpfScpOwogICAgfSBjYXRjaCAoXykgewogICAgICBidWZmZXIud3JpdGVsbignIiR7a2V5
fSI6IGVycm9yIHJlYWRpbmcga2V5IScpOwogICAgfQogIH0KfQo=""",
"pubspec.yaml",
"text",
"""bmFtZTogX19wcm9qZWN0TmFtZV9fCnZlcnNpb246IDAuMC4xCmRlc2NyaXB0aW9uOiBBIHNpbXBs
Expand Down
2 changes: 0 additions & 2 deletions lib/generators/server_shelf.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

library stagehand.server.shelf;

import '../stagehand.dart';
import '../src/common.dart';
import 'server_shelf_data.dart';
Expand Down
2 changes: 0 additions & 2 deletions lib/generators/web_angular.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

library stagehand.web.angular;

import '../stagehand.dart';
import '../src/common.dart';
import 'web_angular_data.dart';
Expand Down
2 changes: 0 additions & 2 deletions lib/generators/web_polymer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

library stagehand.web.polymer;

import '../stagehand.dart';
import '../src/common.dart';
import 'web_polymer_data.dart';
Expand Down
51 changes: 25 additions & 26 deletions lib/generators/web_polymer_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -52,28 +52,27 @@ SVRZIE9GIFNVQ0ggREFNQUdFLgo=""",
"""Ly8gQ29weXJpZ2h0IChjKSBfX3llYXJfXywgX19hdXRob3JfXy4gQWxsIHJpZ2h0cyByZXNlcnZl
ZC4gVXNlIG9mIHRoaXMgc291cmNlIGNvZGUKLy8gaXMgZ292ZXJuZWQgYnkgYSBCU0Qtc3R5bGUg
bGljZW5zZSB0aGF0IGNhbiBiZSBmb3VuZCBpbiB0aGUgTElDRU5TRSBm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0tCiAgQ29weXJpZ2h0IChjKSBfX3llYXJfXywgX19hdXRob3Jf
Expand Down
2 changes: 0 additions & 2 deletions lib/generators/web_simple.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

library stagehand.web.simple;

import '../stagehand.dart';
import '../src/common.dart';
import 'web_simple_data.dart';
Expand Down
2 changes: 0 additions & 2 deletions lib/src/cli_app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

library stagehand.cli_app;

import 'dart:async';
import 'dart:convert' show JSON;
import 'dart:io' as io;
Expand Down
1 change: 0 additions & 1 deletion lib/src/common.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/**
* Some utility methods for stagehand.
*/
library stagehand.utils;

import 'dart:convert' show UTF8;

Expand Down
1 change: 0 additions & 1 deletion lib/stagehand.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
*
* to create a new instance of the `webapp` template in a `foobar` directory.
*/
library stagehand;

import 'dart:async';
import 'dart:convert';
Expand Down
3 changes: 0 additions & 3 deletions templates/console-full/lib/__projectName__.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// 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.

/// The __projectName__ library.
library __projectName__;

int calculate() {
return 6 * 7;
}
2 changes: 0 additions & 2 deletions templates/console-full/test/__projectName___test.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// 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.

library __projectName__.test;

import 'package:__projectName__/__projectName__.dart';
import 'package:test/test.dart';

Expand Down
2 changes: 0 additions & 2 deletions templates/package-simple/example/__projectName___example.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// 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.

library __projectName__.example;

import 'package:__projectName__/__projectName__.dart';

main() {
Expand Down
8 changes: 4 additions & 4 deletions templates/package-simple/lib/__projectName__.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// 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.

/// The __projectName__ library.
/// Support for doing something awesome.
///
/// This is an awesome library. More dartdocs go here.
/// More dartdocs go here.
library __projectName__;

// TODO: Export any libraries intended for clients of this package.

export 'src/__projectName___base.dart';

// TODO: Export any libraries intended for clients of this package.
2 changes: 0 additions & 2 deletions templates/package-simple/lib/src/__projectName___base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

// TODO: Put public facing types in this file.

library __projectName__.base;

/// Checks if you are awesome. Spoiler: you are.
class Awesome {
bool get isAwesome => true;
Expand Down
2 changes: 0 additions & 2 deletions templates/package-simple/test/__projectName___test.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// 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.

library __projectName__.test;

import 'package:__projectName__/__projectName__.dart';
import 'package:test/test.dart';

Expand Down
Loading

0 comments on commit c131eca

Please sign in to comment.