From fa561019fcb227d6b2910e2d722e37b366492a8a Mon Sep 17 00:00:00 2001 From: Sebastian Loncar Date: Tue, 19 Aug 2014 00:54:36 +0200 Subject: [PATCH] New Version v5.4.6-preview --- Frameworks/Html.Linq/res/Html.Linq.js | 2 +- .../Html.Linq/res/SharpKit.Html.Linq.min.js | 2 +- Frameworks/JavaScript.NoClr/res/noclr.js | 2 +- Frameworks/JsClr.Test/res/QunitTests.js | 2 +- Frameworks/JsClr/Compilation/JsCompiler.js | 2 +- Frameworks/JsClr/Internal/Core.js | 2 +- Frameworks/JsClr/res/SharpKit.JsClr.js | 2 +- Frameworks/JsClr/res/System.Collections.js | 2 +- Frameworks/JsClr/res/System.ComponentModel.js | 2 +- Frameworks/JsClr/res/System.Diagnostics.js | 2 +- Frameworks/JsClr/res/System.Ext.js | 2 +- Frameworks/JsClr/res/System.IO.js | 2 +- Frameworks/JsClr/res/System.Linq.js | 2 +- Frameworks/JsClr/res/System.Reflection.js | 2 +- Frameworks/JsClr/res/System.Text.js | 15 +++++++-------- Frameworks/JsClr/res/System.js | 2 +- Frameworks/JsClr/res/jsclr.js | 15 +++++++-------- Frameworks/JsClr/res/jsclr.min.js | 4 ++-- 18 files changed, 31 insertions(+), 33 deletions(-) diff --git a/Frameworks/Html.Linq/res/Html.Linq.js b/Frameworks/Html.Linq/res/Html.Linq.js index 471898a..9c988b8 100644 --- a/Frameworks/Html.Linq/res/Html.Linq.js +++ b/Frameworks/Html.Linq/res/Html.Linq.js @@ -1,4 +1,4 @@ -/* Generated by SharpKit 5 v5.4.5 */ +/* Generated by SharpKit 5 v5.4.6-preview */ if (typeof(SharpKit) == "undefined") var SharpKit = {}; diff --git a/Frameworks/Html.Linq/res/SharpKit.Html.Linq.min.js b/Frameworks/Html.Linq/res/SharpKit.Html.Linq.min.js index c4e4b7d..628c46f 100644 --- a/Frameworks/Html.Linq/res/SharpKit.Html.Linq.min.js +++ b/Frameworks/Html.Linq/res/SharpKit.Html.Linq.min.js @@ -1,4 +1,4 @@ -/* Generated by SharpKit 5 v5.4.5 */ +/* Generated by SharpKit 5 v5.4.6-preview */ /* Generated by SharpKit 5 v5.4.4 */ if (typeof(SharpKit) == "undefined") diff --git a/Frameworks/JavaScript.NoClr/res/noclr.js b/Frameworks/JavaScript.NoClr/res/noclr.js index 0477da5..6e56c4b 100644 --- a/Frameworks/JavaScript.NoClr/res/noclr.js +++ b/Frameworks/JavaScript.NoClr/res/noclr.js @@ -1,4 +1,4 @@ -/* Generated by SharpKit 5 v5.4.5 */ +/* Generated by SharpKit 5 v5.4.6-preview */ var ListHelper = function (){ }; diff --git a/Frameworks/JsClr.Test/res/QunitTests.js b/Frameworks/JsClr.Test/res/QunitTests.js index d7cd4f9..266cee5 100644 --- a/Frameworks/JsClr.Test/res/QunitTests.js +++ b/Frameworks/JsClr.Test/res/QunitTests.js @@ -1,4 +1,4 @@ -/* Generated by SharpKit 5 v5.4.4 */ +/* Generated by SharpKit 5 v5.4.6-preview */ if (typeof(JsTypes) == "undefined") var JsTypes = []; diff --git a/Frameworks/JsClr/Compilation/JsCompiler.js b/Frameworks/JsClr/Compilation/JsCompiler.js index 65c4eae..4be02a3 100644 --- a/Frameworks/JsClr/Compilation/JsCompiler.js +++ b/Frameworks/JsClr/Compilation/JsCompiler.js @@ -1,4 +1,4 @@ -/* Generated by SharpKit 5 v5.4.5 */ +/* Generated by SharpKit 5 v5.4.6-preview */ "use strict"; if (typeof($CreateException)=='undefined') { diff --git a/Frameworks/JsClr/Internal/Core.js b/Frameworks/JsClr/Internal/Core.js index 25611ac..769fe87 100644 --- a/Frameworks/JsClr/Internal/Core.js +++ b/Frameworks/JsClr/Internal/Core.js @@ -1,4 +1,4 @@ -/* Generated by SharpKit 5 v5.4.5 */ +/* Generated by SharpKit 5 v5.4.6-preview */ "use strict"; if (typeof($CreateException)=='undefined') { diff --git a/Frameworks/JsClr/res/SharpKit.JsClr.js b/Frameworks/JsClr/res/SharpKit.JsClr.js index 8223e03..74fd19e 100644 --- a/Frameworks/JsClr/res/SharpKit.JsClr.js +++ b/Frameworks/JsClr/res/SharpKit.JsClr.js @@ -1,4 +1,4 @@ -/* Generated by SharpKit 5 v5.4.5 */ +/* Generated by SharpKit 5 v5.4.6-preview */ "use strict"; if (typeof ($Inherit) == 'undefined') { var $Inherit = function (ce, ce2) { diff --git a/Frameworks/JsClr/res/System.Collections.js b/Frameworks/JsClr/res/System.Collections.js index e7a1dd4..297c775 100644 --- a/Frameworks/JsClr/res/System.Collections.js +++ b/Frameworks/JsClr/res/System.Collections.js @@ -1,4 +1,4 @@ -/* Generated by SharpKit 5 v5.4.5 */ +/* Generated by SharpKit 5 v5.4.6-preview */ "use strict"; if (typeof($CreateException)=='undefined') { diff --git a/Frameworks/JsClr/res/System.ComponentModel.js b/Frameworks/JsClr/res/System.ComponentModel.js index 12c0ae5..98f3755 100644 --- a/Frameworks/JsClr/res/System.ComponentModel.js +++ b/Frameworks/JsClr/res/System.ComponentModel.js @@ -1,4 +1,4 @@ -/* Generated by SharpKit 5 v5.4.5 */ +/* Generated by SharpKit 5 v5.4.6-preview */ "use strict"; if (typeof($CreateException)=='undefined') { diff --git a/Frameworks/JsClr/res/System.Diagnostics.js b/Frameworks/JsClr/res/System.Diagnostics.js index 075b5ed..87e5826 100644 --- a/Frameworks/JsClr/res/System.Diagnostics.js +++ b/Frameworks/JsClr/res/System.Diagnostics.js @@ -1,4 +1,4 @@ -/* Generated by SharpKit 5 v5.4.5 */ +/* Generated by SharpKit 5 v5.4.6-preview */ "use strict"; if (typeof(JsTypes) == "undefined") diff --git a/Frameworks/JsClr/res/System.Ext.js b/Frameworks/JsClr/res/System.Ext.js index b009f72..837edc1 100644 --- a/Frameworks/JsClr/res/System.Ext.js +++ b/Frameworks/JsClr/res/System.Ext.js @@ -1,4 +1,4 @@ -/* Generated by SharpKit 5 v5.4.5 */ +/* Generated by SharpKit 5 v5.4.6-preview */ "use strict"; if (typeof($CreateException)=='undefined') { diff --git a/Frameworks/JsClr/res/System.IO.js b/Frameworks/JsClr/res/System.IO.js index 5af3ee8..b50c143 100644 --- a/Frameworks/JsClr/res/System.IO.js +++ b/Frameworks/JsClr/res/System.IO.js @@ -1,4 +1,4 @@ -/* Generated by SharpKit 5 v5.4.5 */ +/* Generated by SharpKit 5 v5.4.6-preview */ "use strict"; if (typeof($CreateException)=='undefined') { diff --git a/Frameworks/JsClr/res/System.Linq.js b/Frameworks/JsClr/res/System.Linq.js index c07a290..78b5e53 100644 --- a/Frameworks/JsClr/res/System.Linq.js +++ b/Frameworks/JsClr/res/System.Linq.js @@ -1,4 +1,4 @@ -/* Generated by SharpKit 5 v5.4.5 */ +/* Generated by SharpKit 5 v5.4.6-preview */ "use strict"; if (typeof($CreateException)=='undefined') { diff --git a/Frameworks/JsClr/res/System.Reflection.js b/Frameworks/JsClr/res/System.Reflection.js index 33e1ba7..2140a29 100644 --- a/Frameworks/JsClr/res/System.Reflection.js +++ b/Frameworks/JsClr/res/System.Reflection.js @@ -1,4 +1,4 @@ -/* Generated by SharpKit 5 v5.4.5 */ +/* Generated by SharpKit 5 v5.4.6-preview */ "use strict"; if (typeof($CreateException)=='undefined') { diff --git a/Frameworks/JsClr/res/System.Text.js b/Frameworks/JsClr/res/System.Text.js index 8fdbaab..4c4bc4d 100644 --- a/Frameworks/JsClr/res/System.Text.js +++ b/Frameworks/JsClr/res/System.Text.js @@ -1,4 +1,4 @@ -/* Generated by SharpKit 5 v5.4.5 */ +/* Generated by SharpKit 5 v5.4.6-preview */ "use strict"; if (typeof($CreateException)=='undefined') { @@ -190,16 +190,15 @@ var System$Text$StringBuilder = { }, Length$$: "System.Int32", get_Length: function (){ - return this.array.length; + return this.length; }, set_Length: function (value){ - if (value < 0) - throw $CreateException(new System.ArgumentOutOfRangeException.ctor(), new Error()); - if (value < this.array.length) - this.array.length = value; + if (value == this.length) + return; + if (value > this.length) + this.Append$$String(new Array(value + 1).join("\0")); else { - for (var i = this.array.length; i < this.length; i++) - this.array.push("\0"); + this.Remove(value, this.length - value); } }, Remove: function (start, count){ diff --git a/Frameworks/JsClr/res/System.js b/Frameworks/JsClr/res/System.js index 0db3c8e..df8c1ba 100644 --- a/Frameworks/JsClr/res/System.js +++ b/Frameworks/JsClr/res/System.js @@ -1,4 +1,4 @@ -/* Generated by SharpKit 5 v5.4.5 */ +/* Generated by SharpKit 5 v5.4.6-preview */ "use strict"; if (typeof($CreateException)=='undefined') { diff --git a/Frameworks/JsClr/res/jsclr.js b/Frameworks/JsClr/res/jsclr.js index c265784..90d7fc3 100644 --- a/Frameworks/JsClr/res/jsclr.js +++ b/Frameworks/JsClr/res/jsclr.js @@ -1,4 +1,4 @@ -/* Generated by SharpKit 5 v5.4.5 */ +/* Generated by SharpKit 5 v5.4.6-preview */ "use strict"; if (typeof($CreateException)=='undefined') { @@ -8298,16 +8298,15 @@ var System$Text$StringBuilder = { }, Length$$: "System.Int32", get_Length: function (){ - return this.array.length; + return this.length; }, set_Length: function (value){ - if (value < 0) - throw $CreateException(new System.ArgumentOutOfRangeException.ctor(), new Error()); - if (value < this.array.length) - this.array.length = value; + if (value == this.length) + return; + if (value > this.length) + this.Append$$String(new Array(value + 1).join("\0")); else { - for (var i = this.array.length; i < this.length; i++) - this.array.push("\0"); + this.Remove(value, this.length - value); } }, Remove: function (start, count){ diff --git a/Frameworks/JsClr/res/jsclr.min.js b/Frameworks/JsClr/res/jsclr.min.js index 752686a..ef85cb0 100644 --- a/Frameworks/JsClr/res/jsclr.min.js +++ b/Frameworks/JsClr/res/jsclr.min.js @@ -1,4 +1,4 @@ -/* Generated by SharpKit 5 v5.4.5 */"use strict"; +/* Generated by SharpKit 5 v5.4.6-preview */"use strict"; if (typeof($CreateException)=='undefined') { var $CreateException = function(ex, error) @@ -1059,7 +1059,7 @@ for(var i=0;i0.0)return 1;if(value==0.0)return 0;throw $CreateException(new System.ArgumentException.ctor$$String("value"),new Error());},Sign$$Double:function(value){if(value<0)return -1;if(value>0)return 1;if(value==0)return 0;throw $CreateException(new System.ArgumentException.ctor$$String("value"),new Error());},Sign$$Int16:function(value){if(value<0)return -1;if(value>0)return 1;if(value==0)return 0;throw $CreateException(new System.ArgumentException.ctor$$String("value"),new Error());},Sign$$Int32:function(value){if(value<0)return -1;if(value>0)return 1;if(value==0)return 0;throw $CreateException(new System.ArgumentException.ctor$$String("value"),new Error());},Sign$$Int64:function(value){if(value<0)return -1;if(value>0)return 1;if(value==0)return 0;throw $CreateException(new System.ArgumentException.ctor$$String("value"),new Error());},Sign$$SByte:function(value){if(value<0)return -1;if(value>0)return 1;if(value==0)return 0;throw $CreateException(new System.ArgumentException.ctor$$String("value"),new Error());},Sign$$Single:function(value){if(value<0)return -1;if(value>0)return 1;if(value==0)return 0;throw $CreateException(new System.ArgumentException.ctor$$String("value"),new Error());},Sin:function(a){return Math.sin(a);},Sinh:function(value){throw $CreateException(new System.NotImplementedException.ctor(),new Error());},Sqrt:function(d){return Math.sqrt(d);},Tan:function(a){return Math.tan(a);},Tanh:function(value){throw $CreateException(new System.NotImplementedException.ctor(),new Error());},Truncate$$Decimal:function(d){return d|0;},Truncate$$Double:function(d){return d|0;}},assemblyName:"SharpKit.JsClr",Kind:"Class",definition:{ctor:function(){System.Object.ctor.call(this);}}};JsTypes.push(System$Math); -if(typeof(JsTypes)=="undefined")var JsTypes=[];var System$Text$StringBuilder={fullname:"System.Text.StringBuilder",baseTypeName:"System.Object",assemblyName:"SharpKit.JsClr",Kind:"Class",definition:{ctor:function(){this.array=null;this.length=0;System.Object.ctor.call(this);this.array=new Array(0);this.length=0;},ctor$$Int32:function(len){this.array=null;this.length=0;System.Object.ctor.call(this);this.array=new Array(0);this.length=0;},ctor$$String:function(s){this.array=null;this.length=0;System.Object.ctor.call(this);this.array=[s];this.length=s==null?0:s.length;},Append$$Char:function(s){this.array.push(s);this.length+=1;},Append$$String:function(s){this.array.push(s);this.length+=s.length;},AppendFormat$$String$$Object:function(s,arg0){var ss=System.String.Format$$String$$Object(s,arg0);this.array.push(ss);this.length+=ss.length;},AppendFormat$$String$$Object$$Object:function(s,arg0,arg1){var ss=System.String.Format$$String$$Object$$Object(s,arg0,arg1);this.array.push(ss);this.length+=ss.length;},AppendFormat$$String$$Object$$Object$$Object:function(s,arg0,arg1,arg2){var ss=System.String.Format$$String$$Object$$Object$$Object(s,arg0,arg1,arg2);this.array.push(ss);this.length+=ss.length;},Append$$Object:function(obj){if(obj!=null){var s=obj.toString();this.array.push(s);this.length+=s.length;}},Insert$$Int32$$Boolean:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.IndexOutOfRangeException.ctor(),new Error());this.array.insert(index,value.toString());return this;},Insert$$Int32$$Byte:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$Char:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$Char$Array:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$Decimal:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$Double:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$Int16:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$Int32:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$Int64:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$Object:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$SByte:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$Single:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$String:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$UInt16:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$UInt32:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$UInt64:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$String$$Int32:function(index,value,count){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());for(var i=0;ithis.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());for(var i=0;ithis.array.length)throw $CreateException(new System.IndexOutOfRangeException.ctor(),new Error());this.array.insert(index,value.toString());return this;},Insert$$Int32$$Byte:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$Char:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$Char$Array:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$Decimal:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$Double:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$Int16:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$Int32:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$Int64:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$Object:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$SByte:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$Single:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$String:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$UInt16:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$UInt32:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$UInt64:function(index,value){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());this.array.insert(index,value);return this;},Insert$$Int32$$String$$Int32:function(index,value,count){if(index<0||index>this.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());for(var i=0;ithis.array.length)throw $CreateException(new System.ArgumentOutOfRangeException.ctor(),new Error());for(var i=0;ithis.length)this.Append$$String(new Array(value+1).join("\0"));else {this.Remove(value,this.length-value);}},Remove:function(start,count){var s=this.array.join("");s=s.Remove$$Int32$$Int32(start,count);this.array=[s];this.length=s.length;return this;}}};JsTypes.push(System$Text$StringBuilder); if(typeof(JsTypes)=="undefined")var JsTypes=[];var System$Runtime$Serialization$IExtensibleDataObject={fullname:"System.Runtime.Serialization.IExtensibleDataObject",baseTypeName:"System.Object",assemblyName:"SharpKit.JsClr",Kind:"Interface"};JsTypes.push(System$Runtime$Serialization$IExtensibleDataObject);var System$Runtime$Serialization$ISerializable={fullname:"System.Runtime.Serialization.ISerializable",baseTypeName:"System.Object",assemblyName:"SharpKit.JsClr",Kind:"Interface"};JsTypes.push(System$Runtime$Serialization$ISerializable);var SharpKit$PropertyInfoExtensions={fullname:"SharpKit.PropertyInfoExtensions",baseTypeName:"System.Object",staticDefinition:{IsStatic:function(pi){return pi._IsStatic;},IsPublic:function(pi){throw new Error('Not Implemented');}},assemblyName:"SharpKit.JsClr",Kind:"Class",definition:{ctor:function(){System.Object.ctor.call(this);}}};JsTypes.push(SharpKit$PropertyInfoExtensions);var SharpKit$Extensions2={fullname:"SharpKit.Extensions2",baseTypeName:"System.Object",staticDefinition:{GetValueOrDefaultIfNullOrEmpty:function(s,defaultValue){if(s==null || s.length==0) return defaultValue; return s;},IsNullOrEmpty$$String:function(s){return s==null||s.length==0;},IsNotNullOrEmpty$$String:function(s){return s!=null&&s.length>0;},HtmlEscape:function(s){return s.Replace$$String$$String("&","&").Replace$$String$$String("<","<").Replace$$String$$String(">",">").Replace$$String$$String("\n","
");},ReplaceFirst$$String$$String$$String:function(s,search,replace){return s.ReplaceFirst(search, replace);},ReplaceFirst$$String$$String$$String$$StringComparison:function(s,search,replace,comparisonType){var index=s.indexOf(search,comparisonType);if(index!=-1){var finalStr=System.String.Concat$$String$$String$$String(s.substr(0,index),replace,s.substr(search.length+index));return finalStr;}return s;},FixCamelCasing:function(s){var sb=new System.Text.StringBuilder.ctor();var first=true;var $it19=s.GetEnumerator();while($it19.MoveNext()){var c=$it19.get_Current();if(System.Char.IsUpper$$Char(c)&&!first){sb.Append$$Char(" ");}sb.Append$$Char(c);first=false;}return sb.toString();},RemoveLast:function(s,count){return s.substr(s, s.length-count);},TrimEnd:function(s,trimText){if(s.EndsWith$$String(trimText))return SharpKit.Extensions2.RemoveLast(s,trimText.length);return s;},EqualsIgnoreCase:function(s1,s2){return System.String.Compare$$String$$String$$Boolean(s1,s2,true)==0;}},assemblyName:"SharpKit.JsClr",Kind:"Class",definition:{ctor:function(){System.Object.ctor.call(this);}}};JsTypes.push(SharpKit$Extensions2);var SharpKit$JavaScript$Utils$Js={fullname:"SharpKit.JavaScript.Utils.Js",baseTypeName:"System.Object",staticDefinition:{cctor:function(){SharpKit.JavaScript.Utils.Js.undefined=null;},escape:function(s){return escape(s);},JsEquals:function(obj,value){return obj==value;},JsExactEqualsToUndefined:function(obj){return obj===undefined;},JsExactEquals:function(obj,value){return obj===value;},Typeof:function(obj){return typeof(obj);},ApplyFunction:function(func,thisArg,prms){throw $CreateException(new System.NotImplementedException.ctor$$String("TODO: Implement"),new Error());},CallFunction:function(func,thisArg,prms){throw $CreateException(new System.NotImplementedException.ctor$$String("TODO: Implement"),new Error());},CallFunction2:function(obj,funcName,prms){return obj[funcName].apply(obj, Arguments.from(arguments, 2));},FindOverloadedMethodName:function(obj,funcName){funcName+='$$';for(var o in obj) if (typeof(obj[o])=='function' && o.indexOf(funcName)==0) return o;