473,395 Members | 1,694 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How "non-standard" is _defineGetter?

Total JS noob here, but porting my hairy Common Lisp Cells (dataflow)
package -- long intro on my blog:

http://smuglispweeny.blogspot.com/20...manifesto.html

....so I am getting into some fun stuff straight-away.

I am happy to see _defineGetter_/Setter_ here:

http://developer.mozilla.org/en/docs...Objects:Object

Those are crucial to the transparency of my hack, but there it mentions
they are "Non-standard". I would like Cells/js to be portable -- is this
something to be concerned about?

kenny

--
http://smuglispweeny.blogspot.com/
http://www.theoryyalgebra.com/

"I've never read the rulebook. My job is to catch the ball."
-- Catcher Josh Bard after making a great catch on a foul ball
he might have let drop and then sliding into the dugout, which
by the rules allowed the runners to advance one base costing his
pitcher a possible shutout because there was a runner
on third base.

"My sig is longer than most of my articles."
-- Kenny Tilton
Apr 7 '08 #1
2 2030
Ken Tilton <ke*********@optonline.netwrites:
Total JS noob here, but porting my hairy Common Lisp Cells (dataflow)
package -- long intro on my blog:

http://smuglispweeny.blogspot.com/20...manifesto.html

...so I am getting into some fun stuff straight-away.

I am happy to see _defineGetter_/Setter_ here:

http://developer.mozilla.org/en/docs...Objects:Object

Those are crucial to the transparency of my hack, but there it
mentions they are "Non-standard". I would like Cells/js to be portable
-- is this something to be concerned about?
Yup. It's *completely* useless for general purposes. Which (as usual)
means it doesn't work in MS Internet Explorer, which has something like
90% of the user base.

In general, for language level stuff like this, if it isn't mentioned in
ecma-262, you can more or less bet on it not being available in a
significant portion of browsers (and IE doesn't even support all of
it correctly, but AFAICT nothing really significant).

http://www.ecma-international.org/pu...s/Ecma-262.htm
--
Joost Diepenmaat | blog: http://joost.zeekat.nl/ | work: http://zeekat.nl/
Apr 7 '08 #2


Joost Diepenmaat wrote:
Ken Tilton <ke*********@optonline.netwrites:

>>Total JS noob here, but porting my hairy Common Lisp Cells (dataflow)
package -- long intro on my blog:

http://smuglispweeny.blogspot.com/20...manifesto.html

...so I am getting into some fun stuff straight-away.

I am happy to see _defineGetter_/Setter_ here:

http://developer.mozilla.org/en/docs...Objects:Object

Those are crucial to the transparency of my hack, but there it
mentions they are "Non-standard". I would like Cells/js to be portable
-- is this something to be concerned about?


Yup. It's *completely* useless for general purposes. Which (as usual)
means it doesn't work in MS Internet Explorer, which has something like
90% of the user base.

In general, for language level stuff like this, if it isn't mentioned in
ecma-262, you can more or less bet on it not being available in a
significant portion of browsers (and IE doesn't even support all of
it correctly, but AFAICT nothing really significant).

http://www.ecma-international.org/pu...s/Ecma-262.htm

Joost! Long time no. :) Thx, I was having no luck finding a nice solid
JS reference.

And thanks for heading me off form a dead end on the get/set deal.

kenny

--
http://smuglispweeny.blogspot.com/
http://www.theoryyalgebra.com/

"I've never read the rulebook. My job is to catch the ball."
-- Catcher Josh Bard after making a great catch on a foul ball
and then sliding into the dugout, which by the rules allowed the
runners to advance one base costing his pitcher a possible shutout
because there was a runner on third base.

"My sig is longer than most of my articles."
-- Kenny Tilton
Apr 7 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Adrian Parker | last post by:
For some reason when I call validateFields before .Update (see below), I get this error: "Consumer's even handler called a non-reentrant method in the provider" However if I comment out the...
14
by: mirnazim | last post by:
Hi, There are great Python Web Application Framework. But most of them are meant for content oriented web apps. Is there something that can ease the development of application that are not...
1
by: JKop | last post by:
Would you classify the following code as "Undefined Behaviour" or as "Non- portable"? signed main() { signed char chedder = 130; } Relevant information:
1
by: Mat DeLong | last post by:
Can someone explain this error to me? : main.cpp:9: instantiated from `void show(const LIST::List<T>&) ' main.cpp:23: instantiated from here list.cpp:58: error: dependent-name...
15
by: Sander Tekelenburg | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The HTML specs speak of "replaced" and "non-replaced" elements, yet for the life of me I can't find an explanation of what "replaced" is supposed...
0
by: Robert Oschler | last post by:
I have a database table with a field that is indexed as a "full-text" search, since I want the capabiity. However, I also want the ability to quickly retrieve records from that table that are ins...
0
by: Brent | last post by:
If my field has something like this: 1. dez 2. eft 3. 4. hgt 5. Is there any way to put the non-blank fields on top, sorted alphabetically A-Z, and the blank fields on bottom in...
8
by: Bern McCarty | last post by:
Is it at all possible to leverage mixed-mode assemblies from AppDomains other than the default AppDomain? Is there any means at all of doing this? Mixed-mode is incredibly convenient, but if I...
2
by: thorax | last post by:
I'm having problems running a release build of an application. The application is a native C++ .NET 2003 MFC application which links to a number of other DLLs, one of which is mixed (SLGSE.dll)...
7
by: Benton | last post by:
Hi there, I have a text box which will receive its value from a pop-up date picker. The user should not be able to edit this field with the keyboard or mouse. I am using ASP.NET. If I set the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.