buildar / awe.js

The jQuery for the Augmented Web
515 stars 113 forks source link

Is it possible to use / access settings.container_id ? #20

Closed enguerranws closed 8 years ago

enguerranws commented 8 years ago

Hi,

I'm currently using awe.js, and I noted an issue: when you change the value of settings.container_id the JS is breaking, returning an error :

Uncaught ReferenceError: container is not defined 
awe.events.add.handler 
@ awe.marker_ar.js:133(anonymous function) 
@ awe-standard.js:213

I checked and there is no reference of container_id (except in settings) in the repo files, but sometimes, container is declared like that : var container = document.getElementById('container'); (in /geo_ar/awe.geo_ar.js)

So my question : is it possible to use another element ID without breaking all the app? What is container_id and is it used?