This commit is contained in:
Nemanja Nedeljkovic 2018-01-06 22:09:17 +01:00
parent 22725beede
commit 9bb6ba0823
2 changed files with 21 additions and 20 deletions

View File

@ -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>

View File

@ -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)