akaIDIOT/MooTools-TabPane — Issue #4: Keeping TabPane simple 
Author: akaIDIOT
Created: 2012-02-20 15:49:15+00:00
State: open
Labels: Discussion

Features introduced by #2 and #3 are all useful, but are mostly related to manipulating the content a `TabPane` deals with. As most use cases of the class don't manipulate the content at all, this adds unnecessary bytes to a JavaScript-file that aims to stay simple.

Functions like `add()` and `get()` and possibly even `closeTab` could be moved to a file like `TabPane.Extra,js` that adds these methods through `Class.implement()`, keeping the core file size down for most users.

Splitting things up does complicate matters for those who use the more 'advanced' features...