bradcornford / Bootstrapper

An easy way to integrate Twitter Bootstrap with Laravel
MIT License
23 stars 15 forks source link

Undefined class constant 'JS_BOOTSTRAP_JQUERY_LOCAL' #15

Closed shimulch closed 10 years ago

shimulch commented 10 years ago

While using local js script. There a error shows up Undefined class constant 'JS_BOOTSTRAP_JQUERY_LOCAL'

I guess on BootstrapBase.php there no such constant declared. So I think it was a mistake to put JS_BOOTSTRAP_JQUERY_LOCAL there. It might be JS_JQUERY_LOCAL. Sorry for my bad english. I hope I did make clear what the error is.

Thanks in advance to look into it.

shimulch commented 10 years ago

Also the error is from cornford\bootstrapper\src\Cornford\Bootstrapper\Bootstrap.php in line 55 $return = $this->add('script', asset(self::JS_BOOTSTRAP_JQUERY_LOCAL), $attributes) . .....

shimulch commented 10 years ago

Sorry Just found that it already solved. I dont know how my new installation in composer got that version. 1.2.0