Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Shuttleworth foundation
ca-cla-chooser
Commits
8f188af6
Commit
8f188af6
authored
Nov 04, 2014
by
Jon Phillips
Browse files
added gitignore
parent
2a961e1b
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitignore
0 → 100644
View file @
8f188af6
js/config.js
js/chooser.js
View file @
8f188af6
...
@@ -16,12 +16,30 @@
...
@@ -16,12 +16,30 @@
var
doDebug
=
false
;
var
doDebug
=
false
;
var
debugNeedle
=
1337
;
var
debugNeedle
=
1337
;
var
serviceUrl
=
'
http://service.fabricatorz.com
'
;
var
services
;
// var serviceUrl = 'http://service.localhost';
// @TODO really should make this configs and convert code below
$
.
ajax
({
timeout
:
1000
,
async
:
false
,
url
:
'
js/config.json
'
,
dataType
:
"
text
"
,
success
:
function
(
data
)
{
services
=
$
.
parseJSON
(
data
);
}
});
var
serviceUrl
,
urlShortener
;
if
(
!
services
||
typeof
services
.
serviceUrl
===
'
undefined
'
)
serviceUrl
=
'
http://service.fabricatorz.com
'
;
else
serviceUrl
=
services
[
"
serviceUrl
"
];
// var urlShortener = 'http://contributoragreements.org/u2s';
if
(
!
services
||
typeof
services
.
urlShortener
===
'
undefined
'
)
var
urlShortener
=
serviceUrl
+
'
/u2s
'
;
urlShortener
=
'
http://service.fabricatorz.com/u2s
'
;
// var urlShortener = 'http://service.localhost' + '/u2s';
else
urlShortener
=
services
[
"
urlShortener
"
];
var
generalPageIndex
=
0
;
var
generalPageIndex
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment