Merge branch 'master' of github.com:neocities/neocities

This commit is contained in:
Victoria Wang 2016-04-15 15:44:24 -07:00
commit 347cb1b923
2 changed files with 25 additions and 31 deletions

View file

@ -80,6 +80,18 @@
<script type="text/javascript">
var infoObj = $('.error')
String.prototype.tutorialMatches = function(regex, opts) {
if(!opts)
var opts = 'gis'
var result = this.match(new XRegExp(regex, opts))
if(result == null)
return false
return true
}
function notok(msg) {
displayInfo('<i class="fa fa-exclamation-triangle"></i> ' + msg, {
background: '#93771B'