[gnome-devel-docs] Minor editing of JavaScript window tutorial and	sample
- From: Tiffany Antopolski <antopolski src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-devel-docs] Minor editing of JavaScript window tutorial and	sample
- Date: Mon, 16 Apr 2012 01:04:04 +0000 (UTC)
commit c9bd910f3289775cb446ce381b784321b5345e64
Author: Taryn Fox <jewelfox fursona net>
Date:   Sun Apr 15 20:48:43 2012 -0400
    Minor editing of JavaScript window tutorial and sample
    
    Changed it to say that window "is a JavaScript keyword" as per mimico's suggestion.
 platform-demos/C/samples/window.js |    2 +-
 platform-demos/C/window.js.page    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/platform-demos/C/samples/window.js b/platform-demos/C/samples/window.js
index c417fde..3ddabdf 100644
--- a/platform-demos/C/samples/window.js
+++ b/platform-demos/C/samples/window.js
@@ -4,7 +4,7 @@ var Gtk = imports.gi.Gtk;
 Gtk.init(null, 0);
 
 // Create window and give it a name
-// You can't call it "window" as that name is a JavaScript word.
+// You can't call it "window" as that name is a JavaScript keyword.
 var sampleWindow = new Gtk.Window({type: Gtk.WindowType.TOPLEVEL});
 sampleWindow.title = "Welcome to GNOME";
 
diff --git a/platform-demos/C/window.js.page b/platform-demos/C/window.js.page
index 7d8835c..485118b 100644
--- a/platform-demos/C/window.js.page
+++ b/platform-demos/C/window.js.page
@@ -25,7 +25,7 @@ var Gtk = imports.gi.Gtk;
 Gtk.init(null, 0);
 
 // Create window and give it a name
-// You can't call it "window" as that name is reserved by GNOME.
+// You can't call it "window" as that name is a JavaScript keyword.
 var sampleWindow = new Gtk.Window({type: Gtk.WindowType.TOPLEVEL});
 sampleWindow.title = "Welcome to GNOME";
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]