✏️ fix typo

This commit is contained in:
Лаврёнов Антон
2014-06-10 10:01:49 +08:00
parent 24f7bdbafc
commit d8a429ac85
3 changed files with 7 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
* http://www.kineticjs.com/
* Copyright 2013, Eric Rowell
* Licensed under the MIT or GPL Version 2 licenses.
* Date: 2014-05-29
* Date: 2014-06-10
*
* Copyright (C) 2011 - 2013 by Eric Rowell
*
@@ -10082,7 +10082,7 @@ var Kinetic = {};
}
},
setWidth : function() {
Kinetic.Util.warn('Can not change with of layer. Use "stage.width(value)" function instead.');
Kinetic.Util.warn('Can not change width of layer. Use "stage.width(value)" function instead.');
},
/**
* get/set height of layer.getter return height of stage. setter doing nothing.
@@ -10100,7 +10100,7 @@ var Kinetic = {};
}
},
setHeight : function() {
Kinetic.Util.warn('Can not change with of layer. Use "stage.width(value)" function instead.');
Kinetic.Util.warn('Can not change height of layer. Use "stage.height(value)" function instead.');
}
});
Kinetic.Util.extend(Kinetic.BaseLayer, Kinetic.Container);

4
kinetic.min.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -150,7 +150,7 @@
}
},
setWidth : function() {
Kinetic.Util.warn('Can not change with of layer. Use "stage.width(value)" function instead.');
Kinetic.Util.warn('Can not change width of layer. Use "stage.width(value)" function instead.');
},
/**
* get/set height of layer.getter return height of stage. setter doing nothing.
@@ -168,7 +168,7 @@
}
},
setHeight : function() {
Kinetic.Util.warn('Can not change with of layer. Use "stage.width(value)" function instead.');
Kinetic.Util.warn('Can not change height of layer. Use "stage.height(value)" function instead.');
}
});
Kinetic.Util.extend(Kinetic.BaseLayer, Kinetic.Container);