Skip to content

lysdexia/copasetic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Copacetic is a simple POST-only ajax lib.It is implemented as a closure, which calls a child program
after connecting and receiving.

http://www.urbandictionary.com/define.php?term=copacetic

REQUIRES: json2.js from https://github.com/douglascrockford/JSON-js

USAGE: COPACETIC.connect("remote host", "args", CHILD.function)

Example:

document.addEventListener("DOMContentLoaded",
    function () {
        COPACETIC.connect("toss.cgi", "foo=bar", CHILD.blab);
    }, true);

This is a SUPER-BASIC library. It has been tested pretty well in production, but there are others out 
there that are much more comprehensive. On the other hand, it's small! On the gripping hand, it has 
a cool name.

Released under http://creativecommons.org/licenses/by-sa/1.0/legalcode

Have fun!

About

Simple, Bare-Bones AJAX lib

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published