Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Example live application on sinatra serving jsus packages
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
public
vendor/js
.gitignore
.gitmodules
Gemfile
README.md
app.rb
config.ru

README.md

Description

Live example for jsus rack middleware.

Installation

  1. bundle install
  2. git submodule update --init
  3. rackup
  4. Go to http://localhost:9292/javascripts/jsus/require/CKEditor and see the file being built
  5. Experiment with urls. E.g.: /javascripts/jsus/require/CKEditor:plugins.about.plugin+CKEditor:plugins.adobeair.plugin.js 5a. Wildcards also work! /javascripts/jsus/require/**:*undo*.js

Things to notice

Caching is on by default, but sinatra lets middleware do its work before serving static files. This leads to regeneration per request. Use caching proxy, like kick-ass nginx before your sinatra in order to succeed.

License

Application and libraries: UNLICENSE, same as jsus.

CKEditor and other files: look in the respective sources.

Something went wrong with that request. Please try again.