@@ -22,4 +22,14 @@ _testmain.go
*.exe
*.test
*.prof
-*.odf
+*.odf
+
+.buildlog
+.DS_Store
+.idea
+.pub/
+build/
+packages
+pubspec.lock
+/pubspec.lock
+gh-pages
@@ -107,5 +107,7 @@ func (f *Formatter) SetDefaults(a ...attr.Attributes) {
}
func init() {
- New = model.LeafFactory
+ New = func(n model.LeafName) model.Leaf {
+ return model.LeafFactory(n)
+ }