Fix
This commit is contained in:
parent
22725beede
commit
9bb6ba0823
@ -1,23 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>
|
||||
<body ng-app="myApp">
|
||||
|
||||
<!-- target: hello.txt -->
|
||||
|
||||
<html>
|
||||
<body ng-app="myApp">
|
||||
|
||||
<div ng-controller="myCtrl">
|
||||
<p>Click the button to run a function:</p>
|
||||
<p id="link" ng-click="myFunc()">OK</p>
|
||||
<p>The button has been clicked {{count}} times.</p>
|
||||
</div>
|
||||
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>
|
||||
<script>
|
||||
angular.module('myApp', [])
|
||||
.controller('myCtrl', ['$scope', function($scope) {
|
||||
$scope.count = 0;
|
||||
$scope.myFunc = function() {
|
||||
$scope.count++;
|
||||
window.location = "hello.txt";
|
||||
window.location = "/data/hello.txt";
|
||||
};
|
||||
}]);
|
||||
</script>
|
||||
|
@ -106,7 +106,7 @@ def test_hints(test_name, zoom_text_only, zoom_level, find_implementation,
|
||||
quteproc.set_setting('hints.find_implementation', find_implementation)
|
||||
quteproc.send_cmd(':zoom {}'.format(zoom_level))
|
||||
# follow hint
|
||||
quteproc.send_cmd(':hint links normal')
|
||||
quteproc.send_cmd(':hint all normal')
|
||||
quteproc.wait_for(message='hints: a', category='hints')
|
||||
quteproc.send_cmd(':follow-hint a')
|
||||
quteproc.wait_for_load_finished('data/' + parsed.target)
|
||||
|
Loading…
Reference in New Issue
Block a user