Skip to content

Commit 9f7934e

Browse files
authored
Merge pull request #13 from seanvm/pr/12
Minify JS + Version Up
2 parents c72c220 + 91210d7 commit 9f7934e

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

README.md

+8-6
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ Fontselect has one argument, an options object that you might want to customise:
2121
* style: the class to give the new font selector
2222
* placeholder: text to use when no font is selected yet
2323
* lookahead: a number of fonts to try and preload ahead in the select box
24-
25-
$('input.fonts').fontselect({
26-
style: 'font-select',
27-
placeholder: 'Select a font',
28-
lookahead: 2
29-
});
24+
* fonts: an array of fonts to display instead of the defaults.
25+
26+
$('input.fonts').fontselect({
27+
style: 'font-select',
28+
placeholder: 'Select a font',
29+
lookahead: 2,
30+
fonts: ["Aclonica","Amaranth","Bevan","Zeyada"]
31+
});
3032

3133
### Events
3234

jquery.fontselect.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fontselect-jquery-plugin",
3-
"version": "1.0.5",
3+
"version": "1.1.0",
44
"description": "A jQuery font selector for Google Web Fonts",
55
"main": "jquery.fontselect.js",
66
"directories": {

0 commit comments

Comments
 (0)