fix test case
This commit is contained in:
parent
155a8b8d50
commit
b6b8389baa
@ -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) {
|
||||||
|
|
||||||
|
@ -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) {
|
||||||
|
|
||||||
|
|
||||||
|
@ -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, {
|
||||||
|
@ -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);
|
||||||
|
@ -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, {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user