200 karma · joined June 27, 2013
http://maxhorstmann.net
I started creating a new course, how can I split the code across multiple files?
(http://www.codecademy.com/groups/codecademy-course-creators/...)
Also – maybe at some point in the future, the Uber driver’s app can run directly on the car’s on-board computer system – now that would be nice, wouldn’t it?
obligatory: http://xkcd.com/725
pubspec.yaml:
name: test1 dependencies: browser: any angular: git: https://github.com/angular/angular.dart.git
test1.dart:
import 'package:angular/angular.dart'; main() => ngBootstrap();
dart2js launch => builds test1.dart.js, about 5MB, 142,749 loc.
One thing I noticed though: transpiling a .dart file with just the import statement for AngularDart (import 'package:angular/angular.dart') generates a non-minified 5MB .js file with almost 150 kloc. Every code change will create a new version of it, invalidating previously cached versions. :/