Skip to content

Commit 8a56175

Browse files
authored
Merge pull request #41 from kripton/master-resync
Update compiled new web application
2 parents 5e233a5 + 86f34f4 commit 8a56175

4 files changed

Lines changed: 12 additions & 3 deletions

File tree

olad/www/new/css/style.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

olad/www/new/js/app.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@
2020
/* global angular */
2121
var ola = angular.module('olaApp', ['ngRoute', 'hc.marked']);
2222

23+
// AngularJS 1.6 now uses an '!' as the default hashPrefix, breaking
24+
// our routes. Following lines revert the default to the previous empty
25+
// string.
26+
// See https://docs.angularjs.org/guide/migration#commit-aa077e8
27+
ola.config(['$locationProvider', function($locationProvider) {
28+
'use strict';
29+
$locationProvider.hashPrefix('');
30+
}]);
31+
2332
ola.config(['$routeProvider',
2433
function($routeProvider) {
2534
'use strict';

0 commit comments

Comments
 (0)