Sigma Php Ajax framework, Ajax Components, GUI Builder
May 24, 2012, 11:13:05 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
Sigma Php Ajax framework, Ajax Components, GUI Builder
>
Sigma Visual GUI Builder & Library
>
Sigma Visual - Q&A
(Moderators:
steven
,
linb
) >
ns=this, host=this?
Pages: [
1
]
« previous
next »
Print
Author
Topic: ns=this, host=this? (Read 224 times)
Bruce_Dickey
Sr. Member
Posts: 67
ns=this, host=this?
«
on:
October 04, 2011, 03:28:21 PM »
Hi linb,
Just curious why in inComponents, you set host=this, but in event handlers you set ns=this -- why the difference? I assume ns means namespace? Why not simply use `this` in both places?
Thanks,
Bruce
Logged
linb
Administrator
Hero Member
Posts: 435
Re: ns=this, host=this?
«
Reply #1 on:
October 04, 2011, 08:46:55 PM »
In those cases, "ns", "host" or any other variable declarations are just for keeping a certain scope "this"(javascript will change "this" in differant scope.).
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News & Announcements
-----------------------------
Sigma Visual GUI Builder & Library
-----------------------------
=> Sigma Visual - Knowledge Share
=> Sigma Visual - Q&A
=> Bug Report & Wishlist
-----------------------------
Sigma Grid
-----------------------------
=> Sigma Grid - Q&A
=> Show Case
=> Bug Report & Wishlist
-----------------------------
Other
-----------------------------
=> AJAX & JavaScript
Loading...