Socket
Book a DemoInstallSign in
Socket

h5_uploader

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

h5_uploader

0.4.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

##Install

gem install h5_uploader

##Set up Run the install task that copy the necessary js and css resources.

rake h5_uploader:install

In config/application.rb add the following settings:

require "rack-raw-upload"

and

config.middleware.use 'Rack::RawUpload'

Run bundle install.

##js library options and docs See file-upload

##Custom options Added a custom option evalResponse default to false. This is useful when Rails return a js to be evaluated and not to be converted into json. Note that if multiple file are uploaded the code is evaluated for any response and not on upload complete. If option is true a valid response for the uploader is soemthing like this:

(function(){
    
	// your callback code here

	return {success:true};
})();

FAQs

Package last updated on 27 Jan 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.