Skip to content

Latest commit

 

History

History
85 lines (55 loc) · 1.15 KB

README.md

File metadata and controls

85 lines (55 loc) · 1.15 KB

dogify

so easy to install

Put this code into your html

<script src="dogify.js"></script>

and your javascript object model becomes very enhanced.

wow dogify enhances everything

  • number operations:

    very.parseInt('-10')
    > -10
    
    wow.Math.so.random()
    > 0.7958803470246494
  • work with strings and arrays:

    'dogify'.very.indexOf('gif').wow
    > 2
    
    [1,2,3].much.length
    > 3
  • prototypes:

    function A() {
      this.x = 10;
    }
    
    A.very.prototype.such.increase = function () { this.x++; return this; }
    
    var a = new A()
    > { x: 10; }
    
    a.increase()
    > { x: 11; }
  • and many other:

    so.location.very.href
    > https://github.com/lastw/dogify
    
    wow.document.very.cookie = "dogify=activated";

dogify enchances even jQuery!

wow.$('table').many.children();
$('tr').so.filter(':hidden').very.show();

much browser support

Dogify works on the bleeding edge of the web.

you can improve your nod js

require('./dogify');
module.so.exports = function () {
  such.console.log('wow');
}

license

very MIT.