Author: Christian Lopes
Date: 2011-05-10 11:05:59 -0700 (Tue, 10 May 2011)
New Revision: 24995
Modified:
cytoscapeweb/trunk/cytoscapeweb/html-template/js/cytoscapeweb.js
Log:
Fixed jsdoc-tools issue.
Removed "use strict" command.
Modified: cytoscapeweb/trunk/cytoscapeweb/html-template/js/cytoscapeweb.js
===================================================================
--- cytoscapeweb/trunk/cytoscapeweb/html-template/js/cytoscapeweb.js
2011-05-10 16:08:11 UTC (rev 24994)
+++ cytoscapeweb/trunk/cytoscapeweb/html-template/js/cytoscapeweb.js
2011-05-10 18:05:59 UTC (rev 24995)
@@ -32,16 +32,22 @@
// Create namespaces if not already defined:
(function () {
- "use strict";
-
+
if (typeof(window['org']) === 'undefined') {
+ /**
+ * @namespace
+ * @name org
+ */
window['org'] = {};
}
if (typeof(window.org['cytoscapeweb']) === 'undefined') {
- /** @namespace */
- window.org['cytoscapeweb'] = {};
+ /**
+ * @namespace
+ * @name org.cytoscapeweb
+ */
+ org['cytoscapeweb'] = {};
}
-
+
// Create a global map to store all instances of Cytoscape Web:
window._cytoscapeWebInstances = { index: 0 };
@@ -126,7 +132,7 @@
* @see org.cytoscapeweb.Visualization#draw
* @see org.cytoscapeweb.Visualization#ready
*/
- window.org.cytoscapeweb.Visualization = function (containerId, options) {
+ org.cytoscapeweb.Visualization = function (containerId, options) {
this.containerId = containerId;
if (!options) { options = {}; }
@@ -1973,7 +1979,7 @@
* @see org.cytoscapeweb.Visualization#hasListener
* @see org.cytoscapeweb.Visualization#removeListener
*/
- window.org.cytoscapeweb.Event = function (options) {
+ org.cytoscapeweb.Event = function (options) {
/**
* The event type name.
* @type org.cytoscapeweb.EventType
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.