JavaScript: Difference between revisions

From OLPC
Jump to navigation Jump to search
(link orphan)
(move to talk page)
Line 4: Line 4:
The language was standardised by the ECMA under the name ''ECMAScript'' and this name is often used by open source advocates who wish to refer to the generic language, not one specific implementation.
The language was standardised by the ECMA under the name ''ECMAScript'' and this name is often used by open source advocates who wish to refer to the generic language, not one specific implementation.


The Javascript engine from the Mozilla project is included in [[xulrunner]] which is part of the OLPC.
The Javascript engine from the Mozilla project is included in [[xulrunner]] which is part of the OLPC, but not in [[Browse]], the web browser.

Question: Which is correct, the statement above or the one in http://wiki.laptop.org/go/Xulrunner which states
"XULRunner also supports Javascript however this is not part of GECKO and therefore is not supported"?

:It says ...not supported by the current Sugar web browser.

:It would be a good idea for the OLPC to clarify the situation with xulrunner and GECKO but the OLPC does have Javascript as a standard component and it is found in xulrunner. The catch is that Javascript embedded in HTML pages will not run when loaded by the GECKO-based web browser. But you can still build and run Javascript apps, just use xulrunner.


You can take a look at the project [[OLPCities]]. It's an open source, modular project using JavaScript (not Flash) for the creation of on line web applications having the GameBoy style. You can create "Lots" or a complete "City" having activities. There are tutorials available about how to do this. And there are a protopype that you can play not only at the OLPC station but at some browsers (IE, by example), NOW!
You can take a look at the project [[OLPCities]]. It's an open source, modular project using JavaScript (not Flash) for the creation of on line web applications having the GameBoy style. You can create "Lots" or a complete "City" having activities. There are tutorials available about how to do this. And there are a protopype that you can play not only at the OLPC station but at some browsers (IE, by example), NOW!

Revision as of 15:11, 18 November 2007

  english | español HowTo [ID# 78432]  +/-  

Javascript is a Lisp-like object-oriented language with a C-like syntax that was invented as part of the Netscape web browser. Although it has no relationship at all with Java, some marketing people decided that it would look better if Netscape could claim a feature named Javascript.

The language was standardised by the ECMA under the name ECMAScript and this name is often used by open source advocates who wish to refer to the generic language, not one specific implementation.

The Javascript engine from the Mozilla project is included in xulrunner which is part of the OLPC, but not in Browse, the web browser.

You can take a look at the project OLPCities. It's an open source, modular project using JavaScript (not Flash) for the creation of on line web applications having the GameBoy style. You can create "Lots" or a complete "City" having activities. There are tutorials available about how to do this. And there are a protopype that you can play not only at the OLPC station but at some browsers (IE, by example), NOW!

See also