Skip to content

Commit

Permalink
sets default fontFamily of textWrap to "sans-serif"
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed Aug 22, 2017
1 parent 2dd5bea commit 8e8e8b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/textWrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {trimRight} from "./trim";
*/
export default function() {

let fontFamily = "Verdana",
let fontFamily = "sans-serif",
fontSize = 10,
fontWeight = 400,
height = 200,
Expand Down Expand Up @@ -83,7 +83,7 @@ export default function() {
/**
@memberof textWrap
@desc If *value* is specified, sets the font family accessor to the specified function or string and returns this generator. If *value* is not specified, returns the current font family.
@param {Function|String} [*value* = "Verdana"]
@param {Function|String} [*value* = "sans-serif"]
*/
textWrap.fontFamily = function(_) {
return arguments.length ? (fontFamily = _, textWrap) : fontFamily;
Expand Down

0 comments on commit 8e8e8b1

Please sign in to comment.