projects
/
gnome.introspection-doc-generator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JSDOC/Token.vala
[gnome.introspection-doc-generator]
/
String.js
diff --git
a/String.js
b/String.js
old mode 100755
(executable)
new mode 100644
(file)
index
44a1655
..
e5e01d0
--- a/
String.js
+++ b/
String.js
@@
-9,10
+9,12
@@
* <script type="text/javascript">
*/
// usage:
* <script type="text/javascript">
*/
// usage:
-//
String = imports.String.String;
-XObject = imports.XObject.XObject;
+//
Seed.include('String.js');
+
const
XObject = imports.XObject.XObject;
-String = XObject.extend(String,
+
+
+XObject.extend(String,
{
/** @scope String */
{
/** @scope String */
@@
-125,8
+127,7
@@
String = XObject.extend(String,
* @return {String} The new value
*/
* @return {String} The new value
*/
-XObject.extend(String.prototype,
- {
+XObject.extend(String.prototype, {
toggle : function(value, other){
return this == value ? other : value;
toggle : function(value, other){
return this == value ? other : value;