Skip to main content

Home/ javascript/ Group items tagged ruby

Rss Feed Group items tagged

Ivan Pavlov

Liquid JS - 0 views

  •  
    This is a complete port of Liquid from Ruby to JavaScript. Any template that Ruby Liquid can compile and render, Liquid JS should too.
yc c

gotAPI.com - Documentation search engine - 2 views

  •  
    gotAPI helps you find functions, classes, methods, properties, styles, tags, constants and more \n Search In\nActionScript 2.0, ActionScript 3.0, Adobe Flex 2, Adobe Flex 3.3, Apache Ant, Apache Commons, Apache RegExp, Apache Struts 1.1, Berkley DB XML, Bluetooth and OBEX, C++, CakePHP 1.2, Castor, CDC, CLDC, ColdFusion MX-7, ColdFusion MX-8, CSS, CSS, DbUnit 2.4.5, Dinkumware C/C++, DITA 1.1, DocBook, Dojo Toolkit 1.3, Drupal, Eclipse Platform 2.1, Erlang, Flickr API, FP, Google GWT, Google GWT+Gears, Groovy, Haskell, Hibernate, HTML, HTML, HttpUnit, J2EE 5.0, Java 1.5, Java 1.6, JavaScript, JavaScript, jQuery, JSON LIB, JSTL, JUnit, Log4J, MIDP, Mobile Media, MochiKit, MooTools, MySQL 4.1, OpenGL 2.1, Oracle 10g, Oracle 9i, Orb API 2.0, OSGi Platform 4.1, PBP, Perl 5.10, PHP, PostgreSQL 8.3, Prototype.js, Python 2.6.1, RMagick 1.15, RogueWave, Ruby Std Libraries, Ruby/Rails, Scala 2.7.3, Schema (XSD), Script.aculo.us 1.8, Selenium 0.8.2, Sicstus Prolog, Simple DirectMedia Layer, Spring Framework 2.0, Symphony 1.2, Twitter API, Web Services, XML DOM, XPath 2.0, XSL 2.0, Yahoo! UI\n
Javier Neira

fingernails in oatmeal, Metaprogramming: Ruby vs. Javascript - 0 views

  • drew['battleCry']();
  • What we want is the ability to define a method dynamically (given a name) that is also a closure over the lexical scope at the point of method definition.
  • color_name = 'black' Ninja.send(:define_method, 'color') do  puts "#{name}'s color is #{color_name}"end
  • ...5 more annotations...
  • var colorName = "black"; Ninja.prototype['color'] = function () {  puts(this.name + "'s color is " + colorName);}
  • The ubiquity of closures in Javascript is extremely powerful and, as we have seen so far, makes metaprogramming very easy.
  • You can think of a metaclass as a class definition specific to a single instance of a class.
  • This means we can add methods to an object’s metaclass without adding the same behavior to all instances of that object’s class.
  • This means that Javascript does not distinguish between classes/prototypes and instances and, therefore, we can add our desired behavior directly to the instance.
yc c

Underscore.js - 4 views

  •  
    Underscore is a utility-belt library for Javascript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in Javascript objects. It's the tie to go along with jQuery's tux.
  •  
    Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects. It's the tie to go along with jQuery's tux. Collections each, map, reduce, detect, select, reject, all, any, include, invoke, pluck, max, min, sortBy, sortedIndex, toArray, size Arrays first, last, compact, flatten, without, uniq, intersect, zip, indexOf, lastIndexOf Functions bind, bindAll, delay, defer, wrap, compose Objects keys, values, extend, clone, isEqual, isElement, isArray, isFunction, isUndefined Utility noConflict, identity, uniqueId, template
anonymous

Underscore.js - 3 views

  •  
    Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects. It's the tie to go along with jQuery's tux, and Backbone.js's suspenders.
Ivan Pavlov

js-spec - Google Code - 0 views

  •  
    sSpec tries to bring behaviour driven development to JavaScript by somewhat mimicking what rspec does in ruby.
Julian Knight

gotAPI.com :: Reference Lookup Service - 0 views

  •  
    Nice Web2 mashup of a number of reference sources (html, css,JavaScript, DOM, PHP, XML, MySQL, Ruby, etc.)
  •  
    Nice Web2 mashup of a number of reference sources (html, css, JavaScript, DOM, PHP, XML, MySQL, Ruby, etc.)
yc c

REJAX - Coolest Regular Expression Tester. Ever. - 0 views

  •  
    As the first online Regular Expression tester to offer realtime highlighting and offering more languages than any other online tester, ReJAx continues to be the coolest and easiest to use Regular Expression tester on the web. Supported languages:
        * JavaScript
        * PHP 5 PCRE
        * PHP 5 POSIX
        * Ruby - BETA!!
        * PERL 5
        * UNIX Shell Pattern
    It is not necessary to enter the beginning and ending slashes in the pattern field. Not all modifiers will be compatible with every language. Backreferences (when available) are usually in the form of \n where n is the reference number


1 - 11 of 11
Showing 20 items per page