diff options
author | nitind | 2009-04-09 18:41:40 +0000 |
---|---|---|
committer | nitind | 2009-04-09 18:41:40 +0000 |
commit | 0b9e0bae482045562427bd0b693e9d828e61ce81 (patch) | |
tree | 9dec8ad637def4e5d6e898884fffb482d61f4650 | |
parent | a9614d3b7b46d67315fb2184055fc2c2d1451da4 (diff) | |
download | webtools.jsdt.core-0b9e0bae482045562427bd0b693e9d828e61ce81.tar.gz webtools.jsdt.core-0b9e0bae482045562427bd0b693e9d828e61ce81.tar.xz webtools.jsdt.core-0b9e0bae482045562427bd0b693e9d828e61ce81.zip |
[271826] Window object not available in content assist for Web enabled JS project
7 files changed, 22 insertions, 9 deletions
diff --git a/bundles/org.eclipse.wst.jsdt.core/.project b/bundles/org.eclipse.wst.jsdt.core/.project index ae8ce463..c508d53a 100644 --- a/bundles/org.eclipse.wst.jsdt.core/.project +++ b/bundles/org.eclipse.wst.jsdt.core/.project @@ -20,9 +20,15 @@ <arguments> </arguments> </buildCommand> + <buildCommand> + <name>org.eclipse.wst.jsdt.core.javascriptValidator</name> + <arguments> + </arguments> + </buildCommand> </buildSpec> <natures> <nature>org.eclipse.pde.PluginNature</nature> <nature>org.eclipse.jdt.core.javanature</nature> + <nature>org.eclipse.wst.jsdt.core.jsNature</nature> </natures> </projectDescription> diff --git a/bundles/org.eclipse.wst.jsdt.core/.settings/.jsdtscope b/bundles/org.eclipse.wst.jsdt.core/.settings/.jsdtscope new file mode 100644 index 00000000..ed6635a3 --- /dev/null +++ b/bundles/org.eclipse.wst.jsdt.core/.settings/.jsdtscope @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="src" path="libraries"/>
+</classpath>
diff --git a/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.wst.jsdt.ui.superType.container b/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.wst.jsdt.ui.superType.container new file mode 100644 index 00000000..49c8cd4f --- /dev/null +++ b/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.wst.jsdt.ui.superType.container @@ -0,0 +1 @@ +org.eclipse.wst.jsdt.launching.JRE_CONTAINER
\ No newline at end of file diff --git a/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.wst.jsdt.ui.superType.name b/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.wst.jsdt.ui.superType.name new file mode 100644 index 00000000..78278095 --- /dev/null +++ b/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.wst.jsdt.ui.superType.name @@ -0,0 +1 @@ +Object
\ No newline at end of file diff --git a/bundles/org.eclipse.wst.jsdt.core/libraries/baseBrowserLibrary--WrapperObjects.js b/bundles/org.eclipse.wst.jsdt.core/libraries/baseBrowserLibrary--WrapperObjects.js index d3e933e9..8d8eb4fc 100644 --- a/bundles/org.eclipse.wst.jsdt.core/libraries/baseBrowserLibrary--WrapperObjects.js +++ b/bundles/org.eclipse.wst.jsdt.core/libraries/baseBrowserLibrary--WrapperObjects.js @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2008 IBM Corporation and others. + * Copyright (c) 2008, 2009 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -219,7 +219,7 @@ DOMImplementation.prototype = new Object(); * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ -DOMImplementation.prototype.hasFeature = new function(feature, version); +DOMImplementation.prototype.hasFeature = new function(feature, version){}; /** * function createDocumentType() @@ -853,13 +853,13 @@ Document.prototype.createComment=function(data){}; * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ -Document.prototype.createCDATASection(data) +Document.prototype.createCDATASection = function(data){}; /** * function createProcessingInstruction(target, data) * @type Method * @memberOf Document * @param {String} target - * @param {String;} data + * @param {String} data * @returns {ProcessingInstruction} * @throws DOMException * @see Document @@ -1545,7 +1545,7 @@ Element.prototype.hasAttributeNS=function(namespaceURI, localName){}; * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ function Text(){}; -Text.prototype = new ChracterData(); +Text.prototype = new CharacterData(){}; /** * function splitText(offset) * @type Method @@ -1576,7 +1576,7 @@ Text.prototype.splitText=function(offset){}; * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ function Comment(){}; -Comment.prototype = new ChracterData(); +Comment.prototype = new CharacterData(){}; /** * Object CDATASection() * Comment inherits all of the methods and properties from Text. diff --git a/bundles/org.eclipse.wst.jsdt.core/libraries/baseBrowserLibrary.js b/bundles/org.eclipse.wst.jsdt.core/libraries/baseBrowserLibrary.js index 2b97e839..fb08cbae 100644 --- a/bundles/org.eclipse.wst.jsdt.core/libraries/baseBrowserLibrary.js +++ b/bundles/org.eclipse.wst.jsdt.core/libraries/baseBrowserLibrary.js @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2008 IBM Corporation and others. + * Copyright (c) 2008, 2009 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -904,7 +904,7 @@ Document.prototype.createComment=function(data){}; * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ -Document.prototype.createCDATASection(data) +Document.prototype.createCDATASection=function(data){}; /** * function createProcessingInstruction(target, data) * @type ProcessingInstruction diff --git a/bundles/org.eclipse.wst.jsdt.core/libraries/browserWindow.js b/bundles/org.eclipse.wst.jsdt.core/libraries/browserWindow.js index de4b25a1..db658d17 100644 --- a/bundles/org.eclipse.wst.jsdt.core/libraries/browserWindow.js +++ b/bundles/org.eclipse.wst.jsdt.core/libraries/browserWindow.js @@ -36,7 +36,7 @@ Window.prototype.dump=function(arg1){}; * @memberOf Window * @returns {Object} */ -Window.prototype.function(arg1, arg2){}; +Window.prototype.setTimeout=function(arg1, arg2){}; /** * function setInterval() * @type Object |