Comments (2)
Minor changes to TuningGuide's code:
return function(bibSrc, bibElemId, opts) {
...
var $bibSrc = null;
if(bibsrc.indexOf('/') === -1) {
$bibSrc = $(bibsrc);
}
if ($bibSrc && $bibSrc.length) { // we found an element, use its HTML as bibtex
new Bib2HTML($bibSrc.html(), $pubTable, options);
$bibSrc.hide();
} else { // otherwise we assume it is a URL
var callbackHandler = function(data) {
new Bib2HTML(data, $pubTable, options);
};
$.get(bibsrc, callbackHandler, "text");
}
from bib-publication-list.
Thanks guys! It was an issue with newer jQueries than the ancient version used by the example. Should be fixed in commit e8c1c2a along with other jQuery issues.
from bib-publication-list.
Related Issues (20)
- Is it possible to add column? HOT 3
- Bibtex fails to load with certain files. HOT 1
- Missing 'array_values' and checked wrong string in '_checkAt'
- Uncaught ReferenceError: bibdownloaded is not defined HOT 3
- Feature Request: Passing additional options to underlying dataTables object HOT 3
- Controlling width of the publication table. HOT 1
- Bib file formatting not support HOT 7
- New browser tab for links and spacing adjustment between search input HOT 1
- Fail to parse Editor in Book Chapter HOT 1
- Visualisation not visible with many bibtex entries HOT 3
- Duplicate legend entries?
- add option to hide missing fields HOT 2
- Improve display of year labels on visualization for high number of years
- Output style HOT 1
- Add number of citations of a publication in the list? HOT 1
- Licence?
- Replace MonthNumber to MonthName
- Multiple publication tables in a single HTML file? HOT 2
- bibdownloaded is not defined HOT 2
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 bib-publication-list.