sealcode / sealious

An extensible, declarative node framework
25 stars 2 forks source link

Make ChipType constructor prefixes optional #241

Closed arkadiusz-wieczorek closed 8 years ago

kuba-orlik commented 9 years ago

I know it passes tests, but nowhere in the code do we call Sealious[ChipTypeName] without the Sealious.ChipTypes prefix. We need to write tests for that

arkadiusz-wieczorek commented 9 years ago

I've tested only in hello world app, switching function execution from Sealious.ChipTypes.ResourceType to Sealious.ResourceType

arkadiusz-wieczorek commented 9 years ago

In the feature when we cancel from Sealious.ChipTypes prefix, we can use require-all module with map function to require all chip types from directory with correctly object name - property for Sealious object.