SpaceApi-archive / endpoint-hosting

Easily create a new endpoint in one minute!
http://spaceapi.net/new
0 stars 0 forks source link

Global config as JS file (slow if dynamically created), inline JS or as meta tags? #5

Open slopjong opened 10 years ago

slopjong commented 10 years ago

GreenJello said on May 19th it's inefficient and more complicated for meta tags vs. inline JS.

I don't see how meta tags can be that much more complicated. With

document.querySelector('meta[property="config:base_path"]').getAttribute('content');

One can easily get the config value.