fohr/blossom — pull request #61 by clinuz (2012-03-29 19:21:49+00:00)
Title: Update SC.Package/buildtools, introduce SC.Patch

Slight modification to core for now with a global flag SC.THROW_ALL_ERRORS to make sure errors that were silently caught and handled are being propagated to at least be reported where desirable.

Changes to SC.Package/buildtools
---------------------------------------------------
1. Added spaces after each if/for statement in both client and build tools source code
2. Introduce property to frameworks/apps to force all packages to load as core packages
for development so that bugs can be traced to their file/line properly (otherwise the preprocessed
code makes that very difficult to debug) and this saves the trouble of manually modifying the build files
over and over again
3. Updated source documentation
4. *Added callback support to packages in the client*
5. Fixed build tools issue where any time anyone had a directory/node names 'project' it would conflict with the build tools project reference, now build tools use the '_project" internal key so it will no longer conflict

Introduce SC.Patch
-----------------------------

SC.Patch (application/system/patch.js) is a simple wrapper that will apply a hash of properties to the prototype of a named object class when created/committed. See documentation for more details. Very simple object.