2.3.1 • Published 9 years ago

cognition-framework v2.3.1

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
9 years ago

cognition

SPA Javascript component framework for making SPA's in Javascript.

Links

Here's the cognition-framework package on npm.

We put together a quick project boilerplate and build system that will set up a project structure and serve it for you. That's called cognition-kit. Give that a spin.

Help

If you get stuck on something or just want to complement, complain, etc., feel free to hit up @enlore or @DarkMarmot. @landonb tends to live in the shadows, but he'll help, too if you ask nice.

The Basics

We're working on actual docs, promise. Two minutes, Turkish.

Network Plugin

Middleware style, provide a function that returns an object that looks like this:

function networkMiddleware () {
    {
        request: function (xhrSettings) {},
        isActive: function () {},
        abort: function () {},
        getStatus: function () }
    }
}

Pass the function to $.cognition.use("network-http", networkMiddleware) before calling $.cognition.init().

2.3.1

9 years ago

1.2.5

9 years ago

1.2.4

9 years ago

1.2.3

9 years ago

1.2.2

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.0.19

10 years ago

1.1.3

10 years ago

1.1.2

10 years ago

1.0.17

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.12

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago