Sha256: 4f21d5a77bddccbc0d467de48d8b22119f0fad6e136d595242028b010629192d

Contents?: true

Size: 967 Bytes

Versions: 5

Compression:

Stored size: 967 Bytes

Contents

h1. About pupu

Pupu is a plugin system for merb's root stuff like mootools plugins, icon sets etc. It knows dependencies and it has CLI interface, so it's really easy to bundle such plugins into your app. Please see http://github.com/botanicus/pupu for more informations.

h1. About autocompleter

This pupu is based on "digitarald's mootools autocompleter":http://digitarald.de/project/autocompleter. It's very flexible and configuratable. It can deal with local data, and few types of AJAX requests (basic request, JSON and HTM request). For more informations please see the showcases on digitarald's page.

h1. Usage

h2. Initializer

Edit the root/javascripts/initializers/autocompleter.js.

h2. Layout

<pre>
# for basic functionality
plugin :autocompleter

# for local requests through Autocompleter.Request class
plugin :autocompleter, :type => "local"

# for ajax requests through Autocompleter.Request class
plugin :autocompleter, :type => "request"
</pre>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pupu-0.0.3.pre spec/data/public/pupu/autocompleter/README.textile
pupu-0.0.2.pre spec/data/public/pupu/autocompleter/README.textile
pupu-0.0.2 spec/data/public/pupu/autocompleter/README.textile
pupu-0.1.pre spec/data/public/pupu/autocompleter/README.textile
pupu-0.0.1 spec/data/public/pupu/autocompleter/README.textile