Skip to content

Commit 667c699

Browse files
authored
Add MIT copyright notices to source files (#2364)
Match the notices to the LICENSE.
1 parent 5f0a1ff commit 667c699

25 files changed

Lines changed: 99 additions & 4 deletions

pkgs/html/lib/dom.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright (c) project authors. All rights reserved.
2+
// Licensed under the MIT license.
3+
// See LICENSE file in the project root for details.
4+
15
/// A simple tree API that results from parsing html. Intended to be compatible
26
/// with dart:html, but it is missing many types and APIs.
37
library;

pkgs/html/lib/dom_parsing.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright (c) project authors. All rights reserved.
2+
// Licensed under the MIT license.
3+
// See LICENSE file in the project root for details.
4+
15
/// This library contains extra APIs that aren't in the DOM, but are useful
26
/// when interacting with the parse tree.
37
library;

pkgs/html/lib/html_escape.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright (c) project authors. All rights reserved.
2+
// Licensed under the MIT license.
3+
// See LICENSE file in the project root for details.
4+
15
// TODO(jmesserly): reconcile this with dart:web htmlEscape.
26
// This one might be more useful, as it is HTML5 spec compliant.
37
/// Escapes [text] for use in the

pkgs/html/lib/parser.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright (c) project authors. All rights reserved.
2+
// Licensed under the MIT license.
3+
// See LICENSE file in the project root for details.
4+
15
/// This library has a parser for HTML5 documents, that lets you parse HTML
26
/// easily from a script or server side application:
37
///

pkgs/html/lib/src/constants.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright (c) project authors. All rights reserved.
2+
// Licensed under the MIT license.
3+
// See LICENSE file in the project root for details.
4+
15
import 'utils.dart';
26

37
// TODO(jmesserly): fix up the const lists. For the bigger ones, we need faster

pkgs/html/lib/src/css_class_set.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2-
// for details. All rights reserved. Use of this source code is governed by a
3-
// BSD-style license that can be found in the LICENSE file.
1+
// Copyright (c) 2014, the Dart project authors. All rights reserved.
2+
// Licensed under the MIT license.
3+
// See LICENSE file in the project root for details.
44

55
// TODO(jmesserly): everything in this file is copied straight from "dart:html".
66

pkgs/html/lib/src/encoding_parser.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright (c) project authors. All rights reserved.
2+
// Licensed under the MIT license.
3+
// See LICENSE file in the project root for details.
4+
15
import 'constants.dart';
26
import 'html_input_stream.dart';
37

pkgs/html/lib/src/html_input_stream.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright (c) project authors. All rights reserved.
2+
// Licensed under the MIT license.
3+
// See LICENSE file in the project root for details.
4+
15
import 'dart:collection';
26
import 'dart:convert' show ascii, utf8;
37

pkgs/html/lib/src/list_proxy.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright (c) project authors. All rights reserved.
2+
// Licensed under the MIT license.
3+
// See LICENSE file in the project root for details.
4+
15
/// A [List] proxy that you can subclass.
26
library;
37

pkgs/html/lib/src/query_selector.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright (c) project authors. All rights reserved.
2+
// Licensed under the MIT license.
3+
// See LICENSE file in the project root for details.
4+
15
/// Query selector implementation for our DOM.
26
library;
37

0 commit comments

Comments
 (0)