Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 267200 Details for
Bug 513340
Multi-part node require is not being found correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Fix
changes (1).patch (text/plain), 1.30 KB, created by
Michael Rennie
on 2017-03-09 12:17:09 EST
(
hide
)
Description:
Fix
Filename:
MIME Type:
Creator:
Michael Rennie
Created:
2017-03-09 12:17:09 EST
Size:
1.30 KB
patch
obsolete
>diff --git a/bundles/org.eclipse.orion.client.javascript/web/javascript/plugins/javascriptPlugin.js b/bundles/org.eclipse.orion.client.javascript/web/javascript/plugins/javascriptPlugin.js >index b8f2df3..f03c3cd 100644 >--- a/bundles/org.eclipse.orion.client.javascript/web/javascript/plugins/javascriptPlugin.js >+++ b/bundles/org.eclipse.orion.client.javascript/web/javascript/plugins/javascriptPlugin.js >@@ -351,19 +351,16 @@ define([ > if (!/(\.js)$/.test(modulePath)) { > fileToLoad += ".js"; > } >- if (!/(\.js)$/.test(modulePath)) { >- fileToLoad += ".js"; >- } >- return fileclient.read(filePath).then(function(contents) { >+ return fileclient.read(fileToLoad).then(function(contents) { > if (contents) { > response.args.contents = contents; >- ternWorker.postMessage(response); >- } else { >- _nodeRead(response, moduleName, filePath, fileclient, "No contents", depth, false); >+ response.args.file = fileToLoad; >+ return ternWorker.postMessage(response); > } >+ _failedRead(response, moduleName, 'Could not read module: ' + moduleName); > }, > function(err) { >- _nodeRead(response, moduleName, filePath, fileclient, err, depth, false); >+ _failedRead(response, moduleName, err); > }); > } > return fileclient.read(modulePath + "/package.json", false, false, {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 513340
:
267178
| 267200