Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated bifff again

  • Loading branch information...
commit 81b5e7786da9ca2b4570a81c172f1d6eb70ed112 1 parent 5c537bf
@seanhess authored
View
BIN  examples/GlueLoginExample/libs/Glue0.3.d.swc
Binary file not shown
View
4 examples/GlueLoginExample/src/login/control/MainGlue.mxml
@@ -8,7 +8,7 @@
</mx:Script>
<!-- SERVICES :: These could be in another file -->
- <service:Authentication id="auth" app="{app}" nav="{nav}" loginService="{login}" logoutService="{logout}" parse="{authParser}"/>
+ <service:Authentication id="auth" app="{app}" nav="{nav}" loginService="{mockLogin}" logoutService="{logout}" parse="{authParser}"/>
<mx:HTTPService id="login" url="../server/login.php" resultFormat="object"/>
<mx:HTTPService id="logout" url="../server/logout.php" resultFormat="object"/>
@@ -31,7 +31,7 @@
<Inject user="{app.currentUser}"/>
<Inject nav="{nav}"/>
- <Route event="{Login.LOGIN}" call="auth.login(mainView.login)"/>
+ <Route event="{Login.LOGIN}" call="auth.login(mainView.login)"/>
<Route event="{Login.LOGOUT}" call="auth.logout()"/>
</Glue>
View
2  examples/GlueLoginExample/src/login/view/MainView.mxml
@@ -7,6 +7,8 @@
import login.model.Navigation;
import login.model.User;
+ public static const LOGIN:String = "login";
+
[Bindable] public var user:User;
[Bindable] public var nav:Navigation;
View
BIN  source/bin/Glue.swc
Binary file not shown
View
BIN  source/bin/Glue0.1.a.swc
Binary file not shown
View
BIN  source/bin/Glue0.1.b.swc
Binary file not shown
View
BIN  source/bin/Glue0.2.a.swc
Binary file not shown
View
BIN  source/bin/Glue0.3.c.swc
Binary file not shown
View
BIN  source/bin/Glue0.3.d.swc
Binary file not shown
View
BIN  source/libs/Bifff0.4.a.swc
Binary file not shown
View
BIN  source/libs/Bifff0.4.b.swc
Binary file not shown
View
13 source/src/net/seanhess/glue/Inject.as
@@ -1,6 +1,6 @@
package net.seanhess.glue
{
- import net.seanhess.bifff.behaviors.Set;
+ import net.seanhess.bifff.behaviors.Inject;
/**
* Injects properties into controllers and views from a controller.
@@ -8,19 +8,10 @@ package net.seanhess.glue
* Usage: <Inject myProperty="{mycontroller.value}"/>
* Usage: <Inject child="{myView.list}" dataProvider="{mycontroller.list}"/>
*/
- dynamic public class Inject extends Set implements IGlueAction
+ dynamic public class Inject extends net.seanhess.bifff.behaviors.Inject implements IGlueAction
{
protected var _to:*;
- /**
- * Don't set the style, just throw an error. this is for injection
- * not for looks, dangit!
- */
- override protected function setStyleOnTarget(target:*, property:String, value:*):void
- {
- throw new Error("Could not set property '"+property+"' on target '"+target+"' to value '"+value+"'");
- }
-
public function applyAction(target:*):void
{
this.target = _to || target;
Please sign in to comment.
Something went wrong with that request. Please try again.