Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: pkg/polymer/lib/src/build/messages.dart

Issue 644163002: Splitting interop support so `dart_support.js` is no longer required. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/polymer/lib/src/build/linter.dart ('k') | pkg/polymer/pubspec.yaml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 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 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /// Contains all error and warning messages produced by polymer. 5 /// Contains all error and warning messages produced by polymer.
6 library polymer.src.build.messages; 6 library polymer.src.build.messages;
7 7
8 import 'package:code_transformers/messages/messages.dart'; 8 import 'package:code_transformers/messages/messages.dart';
9 import 'constants.dart'; 9 import 'constants.dart';
10 10
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 551
552 transformers: 552 transformers:
553 - polymer: 553 - polymer:
554 inline_stylesheets: 554 inline_stylesheets:
555 web/my_file.css: false 555 web/my_file.css: false
556 556
557 If you would like to hide this warning and keep it inlined, do the same thing 557 If you would like to hide this warning and keep it inlined, do the same thing
558 but assign the value to true. 558 but assign the value to true.
559 ''' 559 '''
560 ); 560 );
561
562 const DART_SUPPORT_NO_LONGER_REQUIRED = const MessageTemplate(
563 const MessageId('polymer', 43),
564 'No need to include "dart_support.js" by hand anymore.',
565 '"dart_support.js" not necessary',
566 '''
567 The script `packages/web_components/dart_support.js` is still used, but you no
568 longer need to put it in your application's entrypoint.
569
570 In the past this file served two purposes:
571
572 * to make dart2js work well with the platform polyfills, and
573 * to support registering Dart APIs for JavaScript custom elements.
574
575 Now, the code from `dart_support.js` is split in two halves. The half for
576 dart2js is now injected by the polymer transformers automatically during `pub
577 build`. The `web_components` package provides an HTML file containing the other
578 half. Developers of packages that wrap JavaScript custom elements (like
579 `core_elements` and `paper_elements`) will import that file directly, so
580 application developers don't have to worry about it anymore.
581 '''
582 );
OLDNEW
« no previous file with comments | « pkg/polymer/lib/src/build/linter.dart ('k') | pkg/polymer/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698