remove explicit .Px() from c# unittests

This commit is contained in:
Lukas Woehrl
2016-12-23 23:26:48 +01:00
parent 5304040161
commit b3752efd05
15 changed files with 519 additions and 521 deletions

View File

@@ -14,12 +14,10 @@ function toValueCs(value) {
function toValueCsCs(value) {
var methodName = '';
if(value.indexOf('px') >= 0){
methodName = 'Px';
}else if (value.indexOf('%') >= 0){
methodName = 'Percent';
if (value.indexOf('%') >= 0){
methodName = '.Percent()';
}
return toValueCs(value) + '.' + methodName + '()';
return toValueCs(value) + methodName;
}
var CSEmitter = function() {