mirror of
https://github.com/jakejarvis/synonyms-for-awesome.git
synced 2026-09-21 17:35:34 -04:00
all local assets
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
jQuery(document).ready(function($) {
|
||||
$.get('synonyms.txt', function(data) {
|
||||
var synonyms = data.split("\n");
|
||||
var line = Math.floor(synonyms.length * Math.random());
|
||||
$('span#synonym').html(synonyms[line]);
|
||||
});
|
||||
});
|
||||
Vendored
+4
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user