fix test case

This commit is contained in:
kekee000 2014-12-22 22:24:45 +08:00
parent 155a8b8d50
commit b6b8389baa
5 changed files with 6 additions and 6 deletions

View File

@ -21,7 +21,7 @@ define(
init: function () {
$.ajax({
url: '../font/iconfont.svg',
url: '../font/fonteditor.svg',
dataType: 'text'
}).done(function(data) {

View File

@ -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) {

View File

@ -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, {

View File

@ -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);

View File

@ -18,7 +18,7 @@ define(
ajaxFile({
type: 'binary',
url: '../font/iconfont.woff',
url: '../font/fonteditor.woff',
onSuccess: function(buffer) {
var ttfBuffer = woff2ttf(buffer, {