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 () { init: function () {
$.ajax({ $.ajax({
url: '../font/iconfont.svg', url: '../font/fonteditor.svg',
dataType: 'text' dataType: 'text'
}).done(function(data) { }).done(function(data) {

View File

@ -48,7 +48,7 @@ define(
function write() { function write() {
ajaxFile({ ajaxFile({
type: 'binary', type: 'binary',
url: '../font/iconfont.ttf', url: '../font/fonteditor.ttf',
onSuccess: function(buffer) { onSuccess: function(buffer) {
var eotBuffer = ttf2eot(buffer); var eotBuffer = ttf2eot(buffer);
@ -77,7 +77,7 @@ define(
function readeot() { function readeot() {
ajaxFile({ ajaxFile({
type: 'binary', type: 'binary',
url: '../font/iconfont.eot', url: '../font/fonteditor.eot',
onSuccess: function(buffer) { onSuccess: function(buffer) {

View File

@ -47,7 +47,7 @@ define(
function write() { function write() {
ajaxFile({ ajaxFile({
type: 'binary', type: 'binary',
url: '../font/iconfont.ttf', url: '../font/fonteditor.ttf',
onSuccess: function(buffer) { onSuccess: function(buffer) {
var svgBuffer = ttf2svg(buffer, { var svgBuffer = ttf2svg(buffer, {

View File

@ -70,7 +70,7 @@ define(
function write() { function write() {
ajaxFile({ ajaxFile({
type: 'binary', type: 'binary',
url: '../font/iconfont.ttf', url: '../font/fonteditor.ttf',
onSuccess: function(buffer) { onSuccess: function(buffer) {
var woffBuffer = ttf2woff(buffer, ttf2woffoptions); var woffBuffer = ttf2woff(buffer, ttf2woffoptions);

View File

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