Skip to content

Commit

Permalink
Merge pull request #32 from talyssonoc/remove_deferred_flag
Browse files Browse the repository at this point in the history
Remove defer flag since Blade extensions cant be deferred
  • Loading branch information
talyssonoc committed Jul 25, 2015
2 parents abb205b + 970813c commit c1572d5
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lib/ReactServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

class ReactServiceProvider extends ServiceProvider {

protected $defer = true;

public function boot() {

Blade::extend(function($view) {
Expand Down Expand Up @@ -59,9 +57,4 @@ public function register() {
protected function createMatcher($function) {
return '/(?<!\w)(\s*)@' . $function . '(\s*\(.*\))/';
}

public function provides() {
return ['React'];
}

}

0 comments on commit c1572d5

Please sign in to comment.