473,796 Members | 2,599 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2053
Ken Tilton <ke*********@op tonline.netwrit es:
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*********@op tonline.netwrit es:

>>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
3756
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 call to validateFields, all is fine. What could possibly cause this error? What is a non-reentrant method?
14
2711
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 content oriented(I call them "NON CONTENT-ORIENTED WEB APPLICATIONS" because I don't know what else to call them). I mean the applications like, accounting, high volume data entry apps, where normally GUI clients have ruled. I know very high...
1
2130
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
1858
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 `LIST::List<T>::ListIterator' is parsed as a non-type, but instantiation yields a type .......... This is the first part of the main:
15
2853
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 to mean in this context. Can someone explain? TIA
0
1485
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 "sorted-order" by this very same field. Do I still need to create a "regular" non-full-text search index to have this capability? Or will the "full-text" index be sufficient? Thanks.
0
1525
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 whatever order?
8
3517
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 cannot load/unload/reload extensions into my large and slow-to-load application during development without restarting the process then the disadvantages may outweigh the advantages. I've got a mixed-mode program in which I create a new AppDomain...
2
1996
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) (VB.NET/C++). Most of the DLLS are statically linked to the main exe (directly or indirectly) but a few are dynamically linked at runtime. When I try and run the app, it gets "An unhandled non- continuable exception was thrown during process...
7
10304
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 readonly property of the textbox to true, it won't let the user change it and it can receive its value from the pop-op calendar, just what I need. Problem is, after a postback, value is lost. So I think Javascript may come to the rescue here. Is...
0
9673
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9524
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10449
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
7546
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6785
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5440
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5568
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.