From: Michael B. <mi...@mi...> - 2003-10-01 15:02:14
|
Hi folks here we go lets start with the library! This will be the new structure for the IOS port: dynapi.library.addPackage('bystrom',dynapi.library.path); dynapi.library.add('bystrom.Button','bystrom/gui/button.js'); etc... Now before I go into debug hell I would like some answers to some library questions. We have a simple load set up like this: dynapi.library.setPath('../src/'); dynapi.library.include('dynapi.spock'); dynapi.library.include('dynapi.api'); dynapi.library.include('library'); dynapi.library.include('bystrom'); Note the "bystrom" include this will load all that I have in that package (right?) Now if I do this the API will load the DynAPI gui components and mine. loaded [dynapi.gui.BorderManager] loaded [dynapi.gui.StyleManager] loaded [dynapi.gui.Highlighter] loaded [dynapi.gui.Button] loaded [dynapi.gui.ButtonStyle] Why does it do this? I will not rename my widgets from Button to IOSButton or something similar. What is the secret I've missed. There has to be a way. Is not bystrom it's own unique object? Michael |