Skip to content

Commit

Permalink
use rawgit for js file
Browse files Browse the repository at this point in the history
  • Loading branch information
ibelar committed Apr 30, 2018
1 parent b40f809 commit c5dfd80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AddressLookup.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public function renderView()
}

if (!AddressLookup::$isApiLoaded) {
$this->app->requireJs( '../vendor/atk4/google-address/public/atk-google-address.min.js');
$this->app->requireJs( 'https://cdn.rawgit.com/atk4/google-address/develop/public/atk-google-address.min.js');
$this->app->requireJs( "https://maps.googleapis.com/maps/api/js?key={$this->apiKey}&libraries=places&callback=atk.mapService.initGoogleApi", false, true );
AddressLookup::$isApiLoaded = true;
}
Expand Down

0 comments on commit c5dfd80

Please sign in to comment.