Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Jquery and jsc
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sajjad Akhter  
View profile  
 More options Sep 21, 7:50 pm
From: Sajjad Akhter <sajjadakh...@gmail.com>
Date: Mon, 21 Sep 2009 16:50:28 -0700 (PDT)
Local: Mon, Sep 21 2009 7:50 pm
Subject: Jquery and jsc
hi,

I want to write a web app which will be doing alot of stuff in
javascript, i looked into jsc its cool when i need to do things
completly writting in c# what if i have prewritten javascript library
like Jquery?

Thanks,
Sajjad


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
zproxy  
View profile  
 More options Sep 23, 1:23 am
From: zproxy <dade...@gmail.com>
Date: Tue, 22 Sep 2009 22:23:22 -0700 (PDT)
Local: Wed, Sep 23 2009 1:23 am
Subject: Re: Jquery and jsc
Hi Sajjad,

At this time there is not automatic way to generate a stub assemly for
other javascript libraries. This must be done by hand. Would you like
to have an example to show how to get started?

On 22 sept, 02:50, Sajjad Akhter <sajjadakh...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sajjad Akhter  
View profile  
 More options Sep 23, 1:55 am
From: "Sajjad Akhter" <sajjadakh...@gmail.com>
Date: Tue, 22 Sep 2009 22:55:14 -0700
Local: Wed, Sep 23 2009 1:55 am
Subject: RE: Jquery and jsc
That would be helpful and I can share stubs for others to use as well :)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sajjad Akhter  
View profile  
 More options Sep 23, 2:19 am
From: "Sajjad Akhter" <sajjadakh...@gmail.com>
Date: Tue, 22 Sep 2009 23:19:40 -0700
Local: Wed, Sep 23 2009 2:19 am
Subject: RE: Jquery and jsc
Also another challenge I am facing is that I am trying to write a c# dll
project and just want to generate jscript out of it. Two issues with this

1. I am getting error when class one tries to use class2 like this
    public class Class1
    {
        public string SayHello()
        {
            return "Hello world";
        }
    }

    public class Class2
    {
        public string SayHelloTwice()
        {
            Class1 c1 = new Class1();
            string msg = c1.SayHello();
            msg = msg + c1.SayHello();
            return msg;
        }
    }

I see following error
Javascript.Class1
Javascript.Class2
no implementation for Javascript.Class1 5158850b-9e9e-3e48-99ba-361f38f596c1
*** Compler cannot continue... press enter to quit.
script : warning JSC1000: Did you reference ScriptCoreLib via
IAssemblyReferenceToken?
script : error JSC1000: error at Javascript.Class2.SayHelloTwice, type:
Javascript.Class2 offset: 0x0007  method:System.String SayHelloTwice()

What I need to add references etc for just a dll project type.

2. Second issue I am seeing is that it generates really complex names for
functions and classes how I can make it to generate more user friendly names

Thanks,
Sajjad


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google