I want to get some UXL working with the Dart Editor. I\'m afraid that I feel the sample code on UXL Overview is either out of date or lacks some critical steps to let it perfor
AFAIK, all samples in the document shall work fine. If we changed spec, we will update the document accordingly.
You can name it .uxl
or .uxl.xml
, but I'd suggest .uxl.xml
if your editor supports XML. Otherwise, you have to configure it to recognize .xul
.
Not sure what critical steps you mean or expect. Better to provide a more specific question.
I made a small addition to the ScrollView example that is saved on GitHub for the UXL project.
( ${r}, ${c} )
//import 'package:polymer/builder.dart';
import 'package:rikulo_uxl/uc.dart';
void main(List args) {
build( args );
}
What makes this different from the GitHub example?
I would also point out that for me, it seems unusual to need to download the UXL project to find one demo. And I need to clarify what a 'demo' might be to "me" as the code I downloaded wasn't an example of anything it just demonstrated one or three UXL features.
I understand people are busy and stuff. And still, in my opinion testing, integration, documentation and examples make 80% of a project the other 20% being code. Others have different opinions. (I think the proportions will be congruent if you have done this for more than 5 years though. Just guessing.)