- This topic has 1 reply, 2 voices, and was last updated 15 years, 11 months ago by Loyal Water.
-
AuthorPosts
-
Adrian RodriguezMemberI only found one post related to my problem with the javascript outline not working properly, but it had no resolution other than “…dev team to look at it…”
I have a similar problem.
All my javascript files have the same top line:
var geograffiti = geograffiti || { };
After this line I have code such as:
var geograffiti = geograffiti || {}; geograffiti.EmptyFunction = function() { }; geograffiti.Environment = { ServerRunningOn: "www.geograffiti.com", initialize: function() { console.log("%s", $F("serverRunningOn")); // Should be called when server info is ready (DOM loaded). var value = $F("serverRunningOn"); if (value && value.length > 0) { this.ServerRunningOn = value; } } } geograffiti.exportSelf = function() { window.gg = window.geograffiti; } geograffiti.load = function() { this.exportSelf(); google.load("maps", "2"); google.setOnLoadCallback(function() { // so we can work with prototype's $ function and jquery via $j window.$j = jQuery; }); } geograffiti.initializeDebugging = function(shouldDebug) { geograffiti.debug = shouldDebug; if (!geograffiti.debug) { // redefine all the firebug stuff so we don't crash var firebugCommands = [ "log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", "trace", "group", "groupEnd", "groupCollapsed", "time", "timeEnd", "profile", "profileEnd", "count", "clear", "notifyFirebug", "getFirebugElement", "firebug" ]; window.console = {}; var command = null; for (var i = 0; i < firebugCommands.length; ++i) { command = firebugCommands[i]; console[command] = geograffiti.EmptyFunction; } } } geograffiti.MapEvent = { FilterSelected : "geograffiti:filterSelected", RepeatLastSearch: "geograffiti:repeatLastSearch", ViewProfileLinkClicked : "geograffiti:viewProfileLinkClicked" };
OR
var geograffiti = geograffiti || { }; geograffiti.Searcher = function() { var SearchType = { Content: 0, Filter: 1, UserVoiceMarks : 2, None: 3 }; ... return { reset : function() { }, } }();
The outline view doesn’t seem to be working. All I get is
geograffiti : __geograffiti0
I don’t get any code completion/assistance. Is there something special that I have to do to setup this type of project? I’ve tried launching with -clean, reinstalling myeclipse and setting up a new project, but I get the same result. The outline seems to work fine when I open up my local copies of prototype.js or scriptaculous.js.
Below is my system information:
*** Date:
Thursday, January 22, 2009 1:09:45 PM PST** System properties:
OS=MacOSX
OS version=10.5.6
Java version=1.5.0_16*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 7.0
Build id: 7.0-20081201*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 7.0
Build id: 7.0-20081201Eclipse Platform
Version: 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu
Build id: M20080911-1700Eclipse Java Development Tools
Version: 3.4.1.r341_v20080709-0800-7o7tEAfEF_U5qyUgrb2HAp539P97
Build id: M20080709-0800Eclipse Graphical Editing Framework GEF
Version: 3.4.1.v20080806-67718083A56B4H2A3213573
Build id: 200809101400Eclipse RCP
Version: 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341
Build id: M20080703-0800Eclipse Plug-in Development Environment
Version: 3.4.1.r341_v20080731-7T7U0E9mlRIuGUYviF_VP
Build id: M20080703-0800Eclipse startup command=-os
macosx
-ws
carbon
-arch
x86
-showsplash
-launcher
/Applications/Genuitec/MyEclipse 7.0/myeclipse.app/Contents/MacOS/myeclipse
-name
Myeclipse
–launcher.library
/Library/Genuitec/Common/plugins/org.eclipse.equinox.launcher.carbon.macosx_1.0.101.R34x_v20080731/eclipse_1115.so
-startup
/Library/Genuitec/Common/plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
-clean
-configuration
../../../configuration
-data
/Users/oGLOWo/code/eclipse-workspace
-launcher
/Applications/Genuitec/MyEclipse 7.0/myeclipse.app/Contents/MacOS/myeclipse
-clean
-configuration
../../../configuration
-clean
-vm
/System/Library/Frameworks/JavaVM.framework
Loyal WaterMemberWe dont have an ETA for this bug fix but we shall try to get this fixed for the next release (which is due mid feb).
-
AuthorPosts