simplajs / simpla

Open, modular, and serverless content management for a modern web
https://www.simplajs.org
MIT License
527 stars 36 forks source link

simple-api attribut deprecated but docs not updated #14

Closed Kunamatata closed 8 years ago

Kunamatata commented 8 years ago

Hi,

I'm having this message in the developer console but the docs still say to use simpla-api attribut in script tag https://www.simpla.io/docs/

The [simpla-api] attribute setup method is deprecated. Please use Simpla('rJIj1iC') instead, see https://www.simpla.io/docs/start

madeleineostoja commented 8 years ago

Documentation being updated as we speak :-)

TL;DR; Simpla is now setup with Javascript rather than a script attribute, like so:

<script src="https://app.simpla.io"></script>
<script>
  Simpla('rJIj1iC');
</script>
madeleineostoja commented 8 years ago

Docs updated

Kunamatata commented 8 years ago

Thanks! You guys are great =) Sorry if it was a useless issue

madeleineostoja commented 8 years ago

No such thing as a useless issue! The more we hear about the better ;-)

giorgiodoueihi commented 8 years ago

Heads up, the docs haven't updated for me. Tried multiple browsers, clearing cache, and private mode. Perhaps a CDN thing?

madeleineostoja commented 8 years ago

Harrumph. Iooking into it now.

madeleineostoja commented 8 years ago

Fixed