Skip to content

Commit c68c9a0

Browse files
committed
Updating Demos
1 parent 6a2fac4 commit c68c9a0

File tree

203 files changed

+26626
-24558
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

203 files changed

+26626
-24558
lines changed

demos/emoji.dart.js

Lines changed: 1377 additions & 1432 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/emoji.dart.js.map

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/languages.dart.js

Lines changed: 1443 additions & 1493 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/languages.dart.js.map

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/markdown.dart.js

Lines changed: 1362 additions & 1395 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/markdown.dart.js.map

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/oauth2.dart.js

Lines changed: 1373 additions & 1421 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/oauth2.dart.js.map

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/octocat.dart.js

Lines changed: 3326 additions & 3964 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/octocat.dart.js.map

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/organization.dart.js

Lines changed: 1259 additions & 1313 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/organization.dart.js.map

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/packages/$pub/core_stubs/dart_html.dart

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

demos/packages/$pub/core_stubs/dart_io.dart

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

demos/packages/$pub/core_stubs/dart_web_audio.dart

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
library dart.dom.web_sql; import 'dart:async'; import 'dart:collection'; import "dart_html.dart"; import "dart_html_common.dart"; import 'dart:nativewrappers'; get web_sqlBlinkMap => throw new UnsupportedError("web_sqlBlinkMap is unsupported on this platform."); @DomName('SQLStatementCallback') @Experimental() typedef void SqlStatementCallback(SqlTransaction transaction, SqlResultSet resultSet); @DomName('SQLStatementErrorCallback') @Experimental() typedef void SqlStatementErrorCallback(SqlTransaction transaction, SqlError error); @DomName('SQLTransactionCallback') @Experimental() typedef void SqlTransactionCallback(SqlTransaction transaction); @DomName('SQLTransactionErrorCallback') @Experimental() typedef void SqlTransactionErrorCallback(SqlError error); @DocsEditable() @DomName('Database') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) @Experimental() @Experimental() class SqlDatabase extends NativeFieldWrapperClass2 { factory SqlDatabase._() { throw new UnsupportedError("new SqlDatabase._() is unsupported on this platform."); } static bool get supported { throw new UnsupportedError("SqlDatabase.supported is unsupported on this platform."); } @DomName('Database.version') @DocsEditable() String get version {} void changeVersion(String oldVersion, String newVersion, [SqlTransactionCallback callback, SqlTransactionErrorCallback errorCallback, VoidCallback successCallback]) {} void readTransaction(SqlTransactionCallback callback, [SqlTransactionErrorCallback errorCallback, VoidCallback successCallback]) {} void transaction(SqlTransactionCallback callback, [SqlTransactionErrorCallback errorCallback, VoidCallback successCallback]) {} } @DocsEditable() @DomName('SQLError') @Experimental() class SqlError extends NativeFieldWrapperClass2 { factory SqlError._() { throw new UnsupportedError("new SqlError._() is unsupported on this platform."); } static const CONSTRAINT_ERR = 6; static const DATABASE_ERR = 1; static const QUOTA_ERR = 4; static const SYNTAX_ERR = 5; static const TIMEOUT_ERR = 7; static const TOO_LARGE_ERR = 3; static const UNKNOWN_ERR = 0; static const VERSION_ERR = 2; @DomName('SQLError.code') @DocsEditable() int get code {} @DomName('SQLError.message') @DocsEditable() String get message {} } @DocsEditable() @DomName('SQLResultSet') @Experimental() class SqlResultSet extends NativeFieldWrapperClass2 { factory SqlResultSet._() { throw new UnsupportedError("new SqlResultSet._() is unsupported on this platform."); } @DomName('SQLResultSet.insertId') @DocsEditable() int get insertId {} @DomName('SQLResultSet.rows') @DocsEditable() SqlResultSetRowList get rows {} @DomName('SQLResultSet.rowsAffected') @DocsEditable() int get rowsAffected {} } @DocsEditable() @DomName('SQLResultSetRowList') @Experimental() class SqlResultSetRowList extends NativeFieldWrapperClass2 with ListMixin<Map>, ImmutableListMixin<Map> implements List<Map> { factory SqlResultSetRowList._() { throw new UnsupportedError("new SqlResultSetRowList._() is unsupported on this platform."); } @DomName('SQLResultSetRowList.length') @DocsEditable() int get length {} Map operator [](int index) {} void operator []=(int index, Map value) {} void set length(int value) {} Map get first {} Map get last {} Map get single {} Map elementAt(int index) {} @DomName('SQLResultSetRowList.item') @DocsEditable() Map item(int index) {} } @DocsEditable() @DomName('SQLTransaction') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) @Experimental() @deprecated class SqlTransaction extends NativeFieldWrapperClass2 { factory SqlTransaction._() { throw new UnsupportedError("new SqlTransaction._() is unsupported on this platform."); } @DomName('SQLTransaction.executeSql') @DocsEditable() void executeSql(String sqlStatement, List<Object> arguments, [SqlStatementCallback callback, SqlStatementErrorCallback errorCallback]) {} } @DocsEditable() @DomName('SQLTransactionSync') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) @Experimental() @Experimental() abstract class _SQLTransactionSync extends NativeFieldWrapperClass2 { factory _SQLTransactionSync._() { throw new UnsupportedError("new _SQLTransactionSync._() is unsupported on this platform."); } }
1+
library dart.dom.web_sql; import 'dart:async'; import 'dart:collection'; import "dart_html.dart"; import "dart_html_common.dart"; import 'dart:nativewrappers'; get web_sqlBlinkMap => throw new UnsupportedError("web_sqlBlinkMap is unsupported on this platform."); @DomName('SQLStatementCallback') @Experimental() typedef void SqlStatementCallback(SqlTransaction transaction, SqlResultSet resultSet); @DomName('SQLStatementErrorCallback') @Experimental() typedef void SqlStatementErrorCallback(SqlTransaction transaction, SqlError error); @DomName('SQLTransactionCallback') @Experimental() typedef void SqlTransactionCallback(SqlTransaction transaction); @DomName('SQLTransactionErrorCallback') @Experimental() typedef void SqlTransactionErrorCallback(SqlError error); @DocsEditable() @DomName('Database') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) @Experimental() @Experimental() class SqlDatabase extends NativeFieldWrapperClass2 { factory SqlDatabase._() { throw new UnsupportedError("new SqlDatabase._() is unsupported on this platform."); } static bool get supported { throw new UnsupportedError("SqlDatabase.supported is unsupported on this platform."); } @DomName('Database.version') @DocsEditable() String get version {} void changeVersion(String oldVersion, String newVersion, [SqlTransactionCallback callback, SqlTransactionErrorCallback errorCallback, VoidCallback successCallback]) {} void readTransaction(SqlTransactionCallback callback, [SqlTransactionErrorCallback errorCallback, VoidCallback successCallback]) {} void transaction(SqlTransactionCallback callback, [SqlTransactionErrorCallback errorCallback, VoidCallback successCallback]) {} } @DocsEditable() @DomName('SQLError') @Experimental() class SqlError extends NativeFieldWrapperClass2 { factory SqlError._() { throw new UnsupportedError("new SqlError._() is unsupported on this platform."); } static const CONSTRAINT_ERR = 6; static const DATABASE_ERR = 1; static const QUOTA_ERR = 4; static const SYNTAX_ERR = 5; static const TIMEOUT_ERR = 7; static const TOO_LARGE_ERR = 3; static const UNKNOWN_ERR = 0; static const VERSION_ERR = 2; @DomName('SQLError.code') @DocsEditable() int get code {} @DomName('SQLError.message') @DocsEditable() String get message {} } @DocsEditable() @DomName('SQLResultSet') @Experimental() class SqlResultSet extends NativeFieldWrapperClass2 { factory SqlResultSet._() { throw new UnsupportedError("new SqlResultSet._() is unsupported on this platform."); } @DomName('SQLResultSet.insertId') @DocsEditable() int get insertId {} @DomName('SQLResultSet.rows') @DocsEditable() SqlResultSetRowList get rows {} @DomName('SQLResultSet.rowsAffected') @DocsEditable() int get rowsAffected {} } @DocsEditable() @DomName('SQLResultSetRowList') @Experimental() class SqlResultSetRowList extends NativeFieldWrapperClass2 with ListMixin<Map>, ImmutableListMixin<Map> implements List<Map> { factory SqlResultSetRowList._() { throw new UnsupportedError("new SqlResultSetRowList._() is unsupported on this platform."); } @DomName('SQLResultSetRowList.length') @DocsEditable() int get length {} Map operator [](int index) {} void operator []=(int index, Map value) {} void set length(int value) {} Map get first {} Map get last {} Map get single {} Map elementAt(int index) {} @DomName('SQLResultSetRowList.item') @DocsEditable() Map item(int index) {} } @DocsEditable() @DomName('SQLTransaction') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) @Experimental() @deprecated class SqlTransaction extends NativeFieldWrapperClass2 { factory SqlTransaction._() { throw new UnsupportedError("new SqlTransaction._() is unsupported on this platform."); } @DomName('SQLTransaction.executeSql') @DocsEditable() void executeSql(String sqlStatement, List<Object> arguments, [SqlStatementCallback callback, SqlStatementErrorCallback errorCallback]) {} }

demos/packages/$sdk/lib/_blink/dartium/_blink_dartium.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30429,6 +30429,9 @@ class Blink_Utils {
3042930429

3043030430
static spawnDomUri(uri) native "Utils_spawnDomUri";
3043130431

30432+
static void spawnDomHelper(Function f, int replyTo)
30433+
native "Utils_spawnDomHelper";
30434+
3043230435
static register(document, tag, customType, extendsTagName) native "Utils_register";
3043330436

3043430437
static createElement(document, tagName) native "Utils_createElement";

demos/packages/$sdk/lib/_internal/compiler/js_lib/annotations.dart

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,18 @@ class Native {
3434
final String name;
3535
const Native(this.name);
3636
}
37+
38+
class _Patch {
39+
final String version;
40+
41+
const _Patch(this.version);
42+
}
43+
44+
/// Annotation that marks the declaration as a patch.
45+
const _Patch patch = const _Patch(null);
46+
47+
/// Annotation that marks the declaration as a patch for the old emitter.
48+
const _Patch patch_old = const _Patch('old');
49+
50+
/// Annotation that marks the declaration as a patch for the new emitter.
51+
const _Patch patch_new = const _Patch('new');

demos/packages/$sdk/lib/_internal/compiler/js_lib/async_patch.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,5 +121,3 @@ class Timer {
121121
return new TimerImpl.periodic(milliseconds, callback);
122122
}
123123
}
124-
125-
bool get _hasDocument => JS('String', 'typeof document') == 'object';

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy