Add contribs to About IITC, fix minor newline issue in loaderMD
This commit is contained in:
parent
764e31db4b
commit
25b6f239c2
@ -1,9 +1,9 @@
|
||||
So far, these people have contributed:
|
||||
--------------------------------------
|
||||
|
||||
[Bananeweizen](https://github.com/Bananeweizen),
|
||||
[blakjakau](https://github.com/blakjakau),
|
||||
[boombuler](https://github.com/boombuler),
|
||||
[breunigs](https://github.com/breunigs),
|
||||
[ccjon](https://github.com/ccjon),
|
||||
[cmrn](https://github.com/cmrn),
|
||||
[epf](https://github.com/epf),
|
||||
|
2
build.py
2
build.py
@ -93,7 +93,7 @@ def loaderMD(var):
|
||||
payload = {'text': file, 'mode': 'markdown'}
|
||||
headers = {'Content-Type': 'application/json'}
|
||||
req = urllib2.Request(url, json.dumps(payload).encode('utf8'), headers)
|
||||
md = urllib2.urlopen(req).read().decode('utf8').replace('\n', '').replace('\'', '\\\'')
|
||||
md = urllib2.urlopen(req).read().decode('utf8').replace('\n', '\\n').replace('\'', '\\\'')
|
||||
files[fn] = {}
|
||||
files[fn][filemd5] = md
|
||||
db['files'] = files
|
||||
|
@ -3,6 +3,7 @@
|
||||
window.aboutIITC = function(){
|
||||
var v = '@@BUILDNAME@@-@@BUILDDATE@@';
|
||||
var attrib = '@@INCLUDEMD:ATTRIBUTION.md@@';
|
||||
var contrib = '@@INCLUDEMD:CONTRIBS.md@@'
|
||||
var a = ''
|
||||
+ ' <div><b>About IITC</b></div> '
|
||||
+ ' <div>Ingress Intel Total Conversion</div> '
|
||||
@ -23,7 +24,9 @@ window.aboutIITC = function(){
|
||||
+ ' <hr>'
|
||||
+ ' <div>Version: ' + v + '</div>'
|
||||
+ ' <hr>'
|
||||
+ ' <div>' + attrib + '</div>';
|
||||
+ ' <div>' + attrib + '</div>'
|
||||
+ ' <hr>'
|
||||
+ ' <div>' + contrib + '</div>';
|
||||
alert(a, true, function() {$('.ui-dialog').removeClass('ui-dialog-aboutIITC');});
|
||||
$('.ui-dialog').addClass('ui-dialog-aboutIITC');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user