Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Need help for creating a simple javascript library

    Hi,

    I found a lots of discussion about javascript in the web. But there are only few discussions about the guideline for creating a new javascript library.
    In one of my project I have used jQuery and created some javascript functions which uses jQuery. Now I want to create a javascript library for those function.
    The target is - users who want to use the features implemented by the javascript functions will use it as a library/api (I don't know what is the right word here).
    Can anybody please guide me how I will proceed to achieve this goal?

    Thanks in advance for your time.

  • #2
    New Coder
    Join Date
    Aug 2014
    Posts
    27
    Thanks
    0
    Thanked 1 Time in 1 Post
    I think, better you use google for the javascript guildline. there are a lot of sites you can get for a simple search. Almost all JavaScript code should be in separate .js files. There should be the smallest possible amount of JavaScript inline in the HTML code of pages.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •