Skip to content
This repository was archived by the owner on Apr 22, 2022. It is now read-only.

Commit 38eb66a

Browse files
jjjj
authored andcommitted
Changed SPARQL URL directive, updated default html pages
1 parent d5b8367 commit 38eb66a

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

src/main/webapp/index.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@
6666
<script src="lib/jquery/jquery-1.9.1.js"></script>
6767
<script src="lib/jquery/jquery-ui-1.10.1.custom.min.js"></script>
6868

69-
<!-- <script src="lib/ace/ace.js" charset="utf-8"></script>
70-
<script src="https://apis.google.com/js/api.js"></script>
71-
<script src="https://www.google.com/jsapi"></script> -->
72-
<!-- <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script> -->
7369
<script src="lib/bootstrap/bootstrap.js"></script>
7470
<script src="lib/angularjs/angular.js"></script>
7571
<script src="lib/angularjs/angular-route.js">

src/main/webapp/js/directives.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ app.directive('regexValidate', function() {
118118
expressions['url'] = /^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$/;
119119
expressions['uri'] = /^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$/;
120120
expressions['identifier'] = /^[a-zA-Z0-9_]*$/ ;
121-
expressions['sparqlEndpoint'] = /^https?:\/\/[^\/]+\/sparql\/?$/;
121+
expressions['sparqlEndpoint'] = /^https?:\/\/.+\/sparql\/?$/; // /^https?:\/\/[^\/]+\/sparql\/?$/
122122
return {
123123
restrict: 'A',
124124
require: 'ngModel',

src/main/webapp/popup.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,7 @@
5353
<script src="lib/jquery/jquery-1.9.1.js"></script>
5454
<script src="lib/jquery/jquery-ui-1.10.1.custom.min.js"></script>
5555

56-
<!-- <script src="lib/ace/ace.js" charset="utf-8"></script>
57-
<script src="https://apis.google.com/js/api.js"></script>
58-
<script src="https://www.google.com/jsapi"></script> -->
59-
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
56+
<!-- <script src="lib/ace/ace.js" charset="utf-8"></script> -->
6057
<script src="lib/bootstrap/bootstrap.js"></script>
6158
<script src="lib/angularjs/angular.js"></script>
6259
<script src="lib/angularjs/angular-route.js">

0 commit comments

Comments
 (0)