Awesome.
I'm on it.
I'll try and get a workaround for this issue pushed asap.

Keep track of this issue on lighthouse:
https://mootools.lighthouseapp.com/projects/2706-mootools/tickets/1056-incompatible-with-serverside-jscript


— Thomas Aylott – SubtleGradient – MooTools – Cloudera —



On Sun, Oct 24, 2010 at 1:15 AM, mrntdung <[email protected]> wrote:
> You can do it yourself :
> Open "mootools-core-1.3-server.js" then insert a language
> specification at the top of the page as default scripting language and
> wrap the code into <%...%>like this :
> <%...@language="JAVASCRIPT" CODEPAGE="65001"%>
> <%
> ...mootools js inline code...
> %>
> then save it and change the file name to "mootools-core-1.3-
> server.asp"
> finally run it on IIS 5.1 or 6.0
>
> You will see the first error at "this.Mootools"
> if you change it to
> var MooTools = {
> ...
> }
> you will see the second error at "this.TypeOf"
>
>
> (function(){
>
> this.MooTools = {
>        version: '1.3',
>        build: 'a3eed692dd85050d80168ec2c708efe901bb7db3'
> };
>
> // typeOf, instanceOf
>
> var typeOf = this.typeOf = function(item){
> .......
>
> Sample: http://somee.123muacd.com/blogger/asp/mootools-core-1.3-server.asp
>
>
> On Oct 23, 1:02 am, Thomas Aylott <[email protected]>
> wrote:
>> I personally take this issue very seriously.
>> If you could provide a simple ASP file and tell me what to do to
>> reproduce the error I will do my best to solve this issue for 1.3.1.
>>
>> — Thomas Aylott – SubtleGradient – MooTools – Cloudera —
>>
>>
>>
>> On Wed, Oct 20, 2010 at 8:50 AM, mrntdung <[email protected]> wrote:
>> > I used "version 1.3" as JS framework with ASP classic based JSCRIPT
>> > language and I got error instead of using "1.2.5"
>>
>> > //We can not use:
>>
>> > (function(){
>> >       this.something = ...
>> > })()
>>
>> > //But we can use:
>>
>> > var thing = function(){
>> >      this.something = ....
>> > }
>>
>> > the error is:
>> > "this" can not be used in function without a specific variable
>>
>> > and mootools version 1.3 almost based on (function(){.......})()
>

Reply via email to