[ReactNative] Fix warnings w/h => width/height

This commit is contained in:
Spencer Ahrens
2015-05-02 10:09:58 -07:00
parent 5e110d2776
commit 59997df1c1
3 changed files with 5 additions and 5 deletions

View File

@@ -5,14 +5,14 @@
*/
'use strict';
var dummySize = {w: undefined, h: undefined};
var dummySize = {width: undefined, height: undefined};
var sizesDiffer = function(one, two) {
one = one || dummySize;
two = two || dummySize;
return one !== two && (
one.w !== two.w ||
one.h !== two.h
one.width !== two.width ||
one.height !== two.height
);
};