Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

merged with master

  • Loading branch information...
commit 03da964022295dc67f6b7c466d88797c608b3613 2 parents 6d0ff6b + f9aaf48
Jeremy Saenz authored
View
12 README.md
@@ -1,5 +1,13 @@
-ZaaImbue
-========
+<pre>
+ ______ _____ _
+ |___ / |_ _| | |
+ / / __ _ __ _ | | _ __ ___ | |__ _ _ ___
+ / / / _` |/ _` || || '_ ` _ \| '_ \| | | |/ _ \
+ ./ /__| (_| | (_| || || | | | | | |_) | |_| | __/
+ \_____/\__,_|\__,_\___/_| |_| |_|_.__/ \__,_|\___|
+</pre>
+
+
A dead-simple injection system for for Flash. Brought to you from the
awesome guys over at [ZaaLabs](http://zaalabs.com).
View
12 examples/AnotherExampleClass.as
@@ -1,11 +1,15 @@
+/*******************************************************************************
+ * ZaaImbue
+ * Copyright (c) 2011 ZaaLabs, Ltd.
+ * For more information see http://www.zaalabs.com
+ *
+ * This file is licensed under the terms of the MIT license, which is included
+ * in the license.txt file at the root directory of this library.
+ ******************************************************************************/
package
{
public class AnotherExampleClass
{
public var name:String = "AnotherClassInstance";
-
- public function AnotherExampleClass()
- {
- }
}
}
View
12 examples/ExampleClass.as
@@ -1,11 +1,15 @@
+/*******************************************************************************
+ * ZaaImbue
+ * Copyright (c) 2011 ZaaLabs, Ltd.
+ * For more information see http://www.zaalabs.com
+ *
+ * This file is licensed under the terms of the MIT license, which is included
+ * in the license.txt file at the root directory of this library.
+ ******************************************************************************/
package
{
public class ExampleClass
{
public var name:String = "ExampleClassInstance";
-
- public function ExampleClass()
- {
- }
}
}
View
13 examples/ImbueExample.as
@@ -1,7 +1,14 @@
+/*******************************************************************************
+ * ZaaImbue
+ * Copyright (c) 2011 ZaaLabs, Ltd.
+ * For more information see http://www.zaalabs.com
+ *
+ * This file is licensed under the terms of the MIT license, which is included
+ * in the license.txt file at the root directory of this library.
+ ******************************************************************************/
package
{
import com.zaalabs.imbue.IInjector;
-
import com.zaalabs.imbue.Injector;
import flash.display.Sprite;
@@ -34,8 +41,8 @@ package
public function onPostInject():void
{
trace("We are all done injecting, now we can use our instance!");
- trace("Name of first injected instance:",myFirstInjectedInstance.name);
- trace("Name of second injected instance:",mySecondInjectedInstance.name)
+ trace("Name of first injected instance:", myFirstInjectedInstance.name);
+ trace("Name of second injected instance:", mySecondInjectedInstance.name)
}
}
View
8 src/com/zaalabs/imbue/IInjector.as
@@ -1,3 +1,11 @@
+/*******************************************************************************
+ * ZaaImbue
+ * Copyright (c) 2011 ZaaLabs, Ltd.
+ * For more information see http://www.zaalabs.com
+ *
+ * This file is licensed under the terms of the MIT license, which is included
+ * in the license.txt file at the root directory of this library.
+ ******************************************************************************/
package com.zaalabs.imbue
{
/**
View
8 src/com/zaalabs/imbue/Injector.as
@@ -1,3 +1,11 @@
+/*******************************************************************************
+ * ZaaImbue
+ * Copyright (c) 2011 ZaaLabs, Ltd.
+ * For more information see http://www.zaalabs.com
+ *
+ * This file is licensed under the terms of the MIT license, which is included
+ * in the license.txt file at the root directory of this library.
+ ******************************************************************************/
package com.zaalabs.imbue
{
import flash.utils.Dictionary;
View
8 src/com/zaalabs/imbue/getConstructor.as
@@ -1,3 +1,11 @@
+/*******************************************************************************
+ * ZaaImbue
+ * Copyright (c) 2011 ZaaLabs, Ltd.
+ * For more information see http://www.zaalabs.com
+ *
+ * This file is licensed under the terms of the MIT license, which is included
+ * in the license.txt file at the root directory of this library.
+ ******************************************************************************/
package com.zaalabs.imbue
{
import flash.utils.Proxy;
Please sign in to comment.
Something went wrong with that request. Please try again.