Browse files

bold didn't work in code

  • Loading branch information...
1 parent 4d1bb2a commit 6f4c41898bcc9c70c0062cc076f8cb503f66b1c5 @seanhess committed Oct 19, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.mdown
View
4 README.mdown
@@ -66,14 +66,14 @@ Here is a full example
You can use `arguments` to simplify passing the arguments along
- public function manyArguments(one:SomeClass, two:String, three:int):void { i.manyArguments(**arguments**) }
+ public function manyArguments(one:SomeClass, two:String, three:int):void { i.manyArguments(arguments) }
### Using Dependencies
You use the `new` operator anywhere as if you were creating the class. Zero takes care of the rest.
// "this" is the context
- var library:DLibrary = **new** DLibrary(this);
+ var library:DLibrary = new DLibrary(this);
Don't worry, you are _not_ creating a dependency on the implementation. Think of the `DependencyInterface` as a normal AS `Interface`. `DependencyInterfaces` are easy to refactor to `Interfaces` and vice versa.

0 comments on commit 6f4c418

Please sign in to comment.