fix test case
This commit is contained in:
parent
155a8b8d50
commit
b6b8389baa
@ -21,7 +21,7 @@ define(
|
||||
init: function () {
|
||||
|
||||
$.ajax({
|
||||
url: '../font/iconfont.svg',
|
||||
url: '../font/fonteditor.svg',
|
||||
dataType: 'text'
|
||||
}).done(function(data) {
|
||||
|
||||
|
@ -48,7 +48,7 @@ define(
|
||||
function write() {
|
||||
ajaxFile({
|
||||
type: 'binary',
|
||||
url: '../font/iconfont.ttf',
|
||||
url: '../font/fonteditor.ttf',
|
||||
onSuccess: function(buffer) {
|
||||
|
||||
var eotBuffer = ttf2eot(buffer);
|
||||
@ -77,7 +77,7 @@ define(
|
||||
function readeot() {
|
||||
ajaxFile({
|
||||
type: 'binary',
|
||||
url: '../font/iconfont.eot',
|
||||
url: '../font/fonteditor.eot',
|
||||
onSuccess: function(buffer) {
|
||||
|
||||
|
||||
|
@ -47,7 +47,7 @@ define(
|
||||
function write() {
|
||||
ajaxFile({
|
||||
type: 'binary',
|
||||
url: '../font/iconfont.ttf',
|
||||
url: '../font/fonteditor.ttf',
|
||||
onSuccess: function(buffer) {
|
||||
|
||||
var svgBuffer = ttf2svg(buffer, {
|
||||
|
@ -70,7 +70,7 @@ define(
|
||||
function write() {
|
||||
ajaxFile({
|
||||
type: 'binary',
|
||||
url: '../font/iconfont.ttf',
|
||||
url: '../font/fonteditor.ttf',
|
||||
onSuccess: function(buffer) {
|
||||
|
||||
var woffBuffer = ttf2woff(buffer, ttf2woffoptions);
|
||||
|
@ -18,7 +18,7 @@ define(
|
||||
|
||||
ajaxFile({
|
||||
type: 'binary',
|
||||
url: '../font/iconfont.woff',
|
||||
url: '../font/fonteditor.woff',
|
||||
onSuccess: function(buffer) {
|
||||
|
||||
var ttfBuffer = woff2ttf(buffer, {
|
||||
|
Loading…
x
Reference in New Issue
Block a user