Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace boot.js for boot.dart #18007

Closed
sigmundch opened this issue Apr 3, 2014 · 4 comments
Closed

replace boot.js for boot.dart #18007

sigmundch opened this issue Apr 3, 2014 · 4 comments
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. closed-not-planned Closed as we don't intend to take action on the reported issue

Comments

@sigmundch
Copy link
Member

this is blocked by a couple issues:

 - issue #18001: we need to be able to use spawnDomUri with package imports
 - issue #18006: we want to include boot.dart in polymer.html in the same way we include boot.js

@sigmundch
Copy link
Member Author

Seems that some our plans might be changing here. I deleted the portions of boot.dart that were equivalent to boot.js in the change that reintroduces initPOlymer.

In case it is useful in the future, here is what the code looked like when I deleted it:

    main() {
      var scripts = discoverScripts(document, window.location.href);
      var sb = new StringBuffer()..write('library bootstrap;\n\n');
      int count = 0;
      for (var s in scripts) {
        sb.writeln("import '${s.importUrl}' as prefix_$count;");
        count++;
      }
      sb.writeln("import 'package:polymer/src/mirror_loader.dart';");
      sb.write('\nmain() => startPolymerInDevelopment([\n');
      for (var s in scripts) {
        sb.writeln(" '${s.importUrl}',");
      }
      sb.write(']);\n');
      var isolateUri = _asDataUri(sb.toString());
      spawnDomUri(Uri.parse(isolateUri), [], '');
    }

@jmesserly
Copy link

Removed Area-Polymer label.
Added Pkg-Polymer, Area-Pkg labels.

@sigmundch
Copy link
Member Author

Closing this until we set our new plan with the new script semantics.


Added NotPlanned label.

@sigmundch sigmundch added Type-Defect area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. closed-not-planned Closed as we don't intend to take action on the reported issue labels Jul 1, 2014
@DartBot
Copy link

DartBot commented Jun 5, 2015

This issue has been moved to dart-archive/polymer-dart#156.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. closed-not-planned Closed as we don't intend to take action on the reported issue
Projects
None yet
Development

No branches or pull requests

4 participants