GMaps related JS changed to use new google namespace.
Google is going to change permanently in the future the way to
load its services, so better stay safe.
Also this commit shows uses of the new melange.js module.
Fixes Issue 634.
/** @constructor */
function Article() {
}
Article.prototype = {
/** @constructor */
Title: function(title) {
/** the value of the Title instance */
this.title = title;
},
init: function(pages) {
/** the value of the pages of the Article instance */
this.pages = pages;
}
}
f = new Article();
f.init("one two three");
t = new f.Title("my title");
print(f.pages);
print(t.title);