mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
Update library syntax in pkg files.
Review URL: https://codereview.chromium.org//11362139 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14646 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
d6185f99d5
commit
afd6a79416
8 changed files with 14 additions and 18 deletions
|
@ -7,11 +7,11 @@
|
|||
* It shows what it looks like to build an [ArgParser] and then, when the code
|
||||
* is run, demonstrates what the generated usage text looks like.
|
||||
*/
|
||||
#library('example');
|
||||
library example;
|
||||
|
||||
#import('dart:io');
|
||||
import 'dart:io';
|
||||
|
||||
#import('package:args/args.dart');
|
||||
import 'package:args/args.dart';
|
||||
|
||||
main() {
|
||||
var parser = new ArgParser();
|
||||
|
|
|
@ -188,12 +188,12 @@
|
|||
* [posix]: http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html#tag_12_02
|
||||
* [gnu]: http://www.gnu.org/prep/standards/standards.html#Command_002dLine-Interfaces
|
||||
*/
|
||||
#library('args');
|
||||
library args;
|
||||
|
||||
#import('dart:math');
|
||||
import 'dart:math';
|
||||
|
||||
// TODO(rnystrom): Use "package:" URL here when test.dart can handle pub.
|
||||
#import('src/utils.dart');
|
||||
import 'src/utils.dart';
|
||||
|
||||
/**
|
||||
* A class for taking a list of raw command line arguments and parsing out
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
// TODO(rnystrom): This file was copied from pub.
|
||||
/** Generic utility functions. Stuff that should possibly be in core. */
|
||||
#library('args_utils');
|
||||
library args_utils;
|
||||
|
||||
/** Pads [source] to [length] by adding spaces at the end. */
|
||||
String padRight(String source, int length) {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* This library contains functions to escape strings for safe inclusion
|
||||
* in HTML source.
|
||||
*/
|
||||
#library("htmlescape");
|
||||
library htmlescape;
|
||||
|
||||
/**
|
||||
* Escapes HTML-special characters of [text] so that the result can be
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* abstractions similar to those used in other languages, such as the Closure JS
|
||||
* Logger and java.util.logging.Logger.
|
||||
*/
|
||||
#library('logging');
|
||||
library logging;
|
||||
|
||||
/**
|
||||
* Whether to allow fine-grain logging and configuration of loggers in a
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* semantic information about the program being annotated. These annotations are
|
||||
* intended to be used by tools to provide a better user experience.
|
||||
*/
|
||||
#library('meta');
|
||||
library meta;
|
||||
|
||||
/**
|
||||
* An annotation used to mark a class, field, getter, setter, method, top-level
|
||||
|
|
|
@ -47,10 +47,6 @@ intl/test/intl_message_basic_example_test: Skip
|
|||
unittest/test/mock_regexp_negative_test: Fail
|
||||
unittest/test/mock_stepwise_negative_test: Fail
|
||||
|
||||
# pkg issue 6508
|
||||
logging/test/logging_test: Fail, OK
|
||||
args/test/args_test: Fail, OK
|
||||
|
||||
[ $system == windows ]
|
||||
http/test/request_test: Pass, Timeout # Issue 6594
|
||||
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
|
||||
library webdriver;
|
||||
|
||||
#import('dart:json');
|
||||
#import('dart:uri');
|
||||
#import('dart:io');
|
||||
#import('dart:math');
|
||||
import 'dart:json';
|
||||
import 'dart:uri';
|
||||
import 'dart:io';
|
||||
import 'dart:math';
|
||||
|
||||
part 'src/base64decoder.dart';
|
||||
|
||||
|
|
Loading…
Reference in a new issue