Comments (10)
+1
from doctorjs.
I'm having the same problem on current jquery development version after 2(!!) minutes of analysis.
http://code.jquery.com/jquery-1.7.2.js
from doctorjs.
Same here when trying to run with node 0.8.1 on Modernizr.
from doctorjs.
yes me too!
jquery-1.7.2.js
from doctorjs.
I've isolated a code causing the error. The example comes from Modernizr, I've left out everything that didn't change the outcome, so the code doesn't make much sense.
(function( window, document) {
function isEventSupported( eventName, element ) {
eventName = 'on' + eventName;
element = document.createElement('div');
element[eventName] = undefined;
}
})(this, this.document);
Hope it will be of any help. I can look into it when I'll have some more time, but I don't know if it will be any time soon.
from doctorjs.
same error on OpenLayers.js
echo $NODE_PATH
/usr/local/lib/jsctags/:/usr/local/lib/jsctags/:
node --version
v0.5.10
git log -1
commit 96793072fb43cb0baca6025a187aeaf9f7cdfd79
Author: Dimitris Vardoulakis <[email protected]>
Date: Sat Apr 14 15:45:09 2012 -0400
from doctorjs.
I'm seeing the same error.
from doctorjs.
Same with JQuery 1.8.3
from doctorjs.
I didnt look too much into it, but I put a patch like this and it seems to work around the issue. The problem seems to be that cfa2 fails when it cant find a proper type, this just returns the default type of "any" instead of backing out with an exception.
This will mean we might lose some type metadata. But me this is better than not getting any ctags.
lib/cfa2/jscfa.js : ~line 1574
if (types.length === 0)
+ return ("any");
- throw errorWithCode(CFA_ERROR, "Didn't find a name for constructor");
normalizeUnionType(types);
from doctorjs.
Thank you @shinglyu for the patch, it works and should be merged with the master.
from doctorjs.
Related Issues (20)
- Website out of order HOT 1
- support the sha-bang syntax HOT 1
- Recognise "modules" on jsctags
- doctorjs.org/analyze down. HOT 1
- support emacs tag files HOT 4
- install: Aufruf von stat für „narcissus/lib/decompiler.js“ nicht möglich: Datei oder Verzeichnis nicht gefunden HOT 2
- Error: require.paths is removed. HOT 9
- npm package HOT 4
- Makefile "make tags" fails because of missing NODE_PATH HOT 1
- Running jsctags on the js files in the doctorjs repository fails HOT 3
- jsctags does not work with nodejs 0.10.0 HOT 12
- Skip `#!` in the beginning of a file
- can't install doctorjs HOT 11
- doctorjs on node_modules of a node.js/express project
- Support for harmony generators HOT 2
- TypeError: Cannot call method 'sort' of undefined HOT 2
- Question: Outputting CFG? HOT 1
- Wiki changes
- Project still alive?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doctorjs.