Skip to main content

Home/ javascript/ Group items tagged Javascript

Rss Feed Group items tagged

yc c

JSHint, A JavaScript Code Quality Tool - 4 views

  •  
    JSHint is a tool to detect errors and potential problems in JavaScript code.
Javier Neira

Caffeinated Simpleton » Blog Archive » An Introduction to JavaScript's "this" - 2 views

  • That’s what this is expected to be, anyway. It’s expected to be a reference to the current instance of whatever object it’s defined within.
  • It’ll give an error saying that this doesn’t have a member called condiments, even though it clearly does. What happened?!
  • This is because there is no binding of functions to instances in JavaScript.
  • ...3 more annotations...
  • The setTimeout function, however, just has a reference to that function. When it calls it, it’s not aware of myHotDog, so JavaScript sets this to window
  • function HotDog() { var my = this; // my references the current this, which is correct. my.condiments = "mustard, ketchup"; my.getCondiments = function() { return my.condiments; //my is guaranteed to be a reference to the original "this" } }
  • In constructors, this is always your instance. So we created a new variable, my, that references the HotDog instance. This allows you to always refer to the HotDog instance, no matter how the getCondiments function is called.
Julian Knight

Clipperz online password manager - Javascript Crypto Library - 0 views

  •  
    Open source javascript crypto library. Includes AES-256, Fortuna, SRP, SHA-2 functions.
Ivan Pavlov

Javascript Window Library - 0 views

  • Mydows is a small library of javascript functions that sit above the Prototype Javascript library and aid in the creation and management of free floating windows contained within the webpage. Mydows will also work with the Scriptaculous library for added features.
Ivan Pavlov

ArcLite - Arc Ported to JavaScript - 0 views

  •  
    Jonathan Tang has fallen into the Arc fun and took some time to fully implement it in JavaScript.
Ivan Pavlov

Jeene: An automatic partial evaluator for JavaScript - 0 views

  • The purpose of this posting is to show that is is possible to create an online partial evaluator for JavaScript, written also in JavaScript. As far as I know, this has been not been done before. This post is the first in a series describing the inner workings of Jeene.
Ivan Pavlov

Razor - Profile and Optimize Web 2.0 Ajax Performance - 0 views

  • Razor is a web delivered service for profiling and optimizing JavaScript-based Web 2.0 applications. It includes a profiler and an optimizer. Razor Profiler analyzes your JavaScript code and gives you insight into the runtime behavior of your application. Razor Optimizer optimizes your JavaScript code and trims overhead so that "What You Get Is What You Need"(WYGIWYN).
Julian Knight

Cetus Links: 18,047 Links on Objects and Components / JavaScript / ECMAScript - 0 views

  •  
    Masses of JavaScript links
Julian Knight

JavaScript Object-Oriented Programming Part 2 [JavaScript & AJAX Tutorials] - 0 views

  •  
    Useful summary of JavaScript OO features and programming
Ivan Pavlov

JNEXT - JavaScript Native Extensions - 0 views

shared by Ivan Pavlov on 06 Oct 08 - Cached
  • JNEXT is an open source (triple MPL, GPL, LGPL license), small footprint, cross platform and cross browser framework for extending Web browser Javascript (for more background and motivation check this blog entry). With JNEXT it is possible to utilize existing Web browsers to host full and self contained applications that do not depend on external Web servers for the application logic (although they are free to make use of them). This is acheived by enabling Javascript controlled access to the full range of native operating system resources (such as TCP/UDP sockets, files, databases, threads etc).
Bartłomiej Małysz

JavaScript Countdown/Count-up Timer/Clock/Ticker for Web Pages - 0 views

  •  
    JavaScript Countdown/Count-up Timer/Clock/Ticker for Web Pages
yc c

Learn 3 Excellent JavaScript Libraries at Once - Nettuts+ - 0 views

  •  
    good introduction to js libraries
Javier Neira

svendtofte.com - Curried JavaScript functions - 0 views

  • Because JavaScript is weakly typed, we need to check on the number of arguments, and act accordingly.
Bartłomiej Małysz

Yetii - Yet (E)Another JavaScript Tab Interface Implementation | kminek.pl - 0 views

  •  
    Very nice menu tabination structure with using of pure lightweight javascript structure and made by Pole! TY Kminek.
yc c

JSLint, The JavaScript Code Quality Tool - 1 views

  •  
    JSLint takes a JavaScript source and scans it. If it finds a problem, it returns a message describing the problem and an approximate location within the source. The problem is not necessarily a syntax error, although it often is. JSLint looks at some style conventions as well as structural problems. It does not prove that your program is correct. It just provides another set of eyes to help spot problems.
yc c

YUI -- The Yahoo! User Interface Library - 0 views

  •  
    The YUI Library is a set of utilities and controls, written in JavaScript, for building richly interactive web applications using techniques such as DOM scripting, DHTML and AJAX. YUI is available under a BSD license and is free for all uses. The YUI project includes the YUI Library and two build-time tools: YUI Compressor (minification) and YUI Doc (documentation engine for JavaScript code).
Javier Neira

All about types in Javascript - The basics | united-coders.com - 0 views

  • This may lead to interesting results. When dealing with arrays, an array is converted to a string by converting the elements to string, seperating each element by a comma. [].toString();      // "" [2].toString();     // "2" [1,2,3].toString(); // "1,2,3"
yc c

HTML & JavaScript Encoder/Decoder - 1 views

  •  
    Encoding/Decoding Escape/Unescape These scripts are intended to explain how to "hide" HTML and/or javascript from other people who view your page's source code. It is not foolproof, but it does make it more difficult to read and understand the source code. Due to the nature of how these scripts work, the explanation may seem complicated and drawn out, but be patient and it should make sense once you gain a little experience with them. You don't really have to know the ins-and-outs of these scripts, but it does help you understand how and why they work. So, take a seat and I'll do my best to make this seem as un-complicated as possible.
Javier Neira

The Dark side of JavaScript - Part 2 @ Milkshake Systems - 1 views

  • In JavaScript, where functions are objects and aren’t declared as part of anything, the object referenced by this is called the function context and is determined by how the function is invoked not by how its declared.
  • This means that the same function can have different contexts depending on which object calls it.
« First ‹ Previous 41 - 60 of 458 Next › Last »
Showing 20 items per page