From b001e7e28f0d62e615083eec0fc695fde11acb57 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 6 Feb 2014 14:28:10 -0800 Subject: [PATCH] Add example comment --- CONTRIBUTING.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 375ba50ac..2947bc992 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -69,3 +69,20 @@ in the proper package's repository. * Reference classes with `{ClassName}` style notation. * Delegate to comments elsewhere with `{Delegates to: ClassName.methodName}` style notation. + +### Example + +```coffee +# Public: Disable the package with the given name. +# +# This method emits multiple events: +# +# * `package-will-be-disabled` - before the package is disabled. +# * `package-disabled` - after the package is disabled. +# +# name - The {String} name of the package to disable. +# callback - The {Function} to call after the package has been disabled. +# +# Returns `undefined`. +disablePackage: (name, delay, callback) -> +```