Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
improve documentation
  • Loading branch information
brunschgi committed Jan 16, 2014
1 parent 8f60c17 commit 5ddfa49
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/yuidoc/yuidoc.json
@@ -1,7 +1,7 @@
{
"name": "Terrific JavaScript Framework",
"description": "TerrificJS allows you to modularize your jQuery code by solely relying on naming conventions.",
"version": "2.0.0",
"version": "2.0.2",
"url": "http://terrifically.org/api/",
"options" : {
"outdir" : "../release/docs"
Expand Down
2 changes: 2 additions & 0 deletions src/core/Tc.Application.js
Expand Up @@ -227,7 +227,9 @@ Tc.Application = Class.extend({
/**
* Registers a hook that is called at the end.
*
* @method end
* @param {Function} hook
* The hook function to be executed
*/
end: function(hook) {
if(typeof hook === 'function') {
Expand Down
7 changes: 4 additions & 3 deletions src/core/Tc.Sandbox.js
Expand Up @@ -74,8 +74,8 @@ Tc.Sandbox = Class.extend({
* This stops and unregisters a module through a module instance.
*
* @method removeModules
* @param {Array} modules
* A list containing the module instances to remove
* @param {mixed} modules
* A list containing the module instances to remove or the jQuery context to look for registered modules in.
*/
removeModules: function (modules) {
var self = this,
Expand Down Expand Up @@ -201,7 +201,8 @@ Tc.Sandbox = Class.extend({
/**
* Adds a callback to be executed in the appropriate phase.
*
* @param {String} phase default: after
* @method addCallback
* @param {String} phase default: end
* @param {Function} callback
*/
addCallback: function(phase, callback) {
Expand Down

0 comments on commit 5ddfa49

Please sign in to comment.