Error in caph framework

314 views Asked by At

I am using caph framework. In my source line var Scene = caph.require('ui.base.Scene') it is showing an error

i.e.

'caph' was used before it was defined.

1

There are 1 answers

0
Shreeram K On BEST ANSWER

You need to include the caph related JS and CSS files before using them in your code. i.e before execution of caph.require api, your caph related files must be loaded. You need to include caph js and css files before the execution of any caph related api.