Skip to content

Commit

Permalink
refactor and bump version 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhairi committed Mar 7, 2015
1 parent 3af7da2 commit 5a7e6b7
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# alertifyjs-rails

This gem provides [alertify.js](http://alertifyjs.com/) (v1.2.0) for Rails.
This gem provides [alertify.js](http://alertifyjs.com/) (v1.2.1) for Rails.


## Installation
Expand Down Expand Up @@ -49,5 +49,5 @@ flash helper, add the following line in layout
</head>
```

More? read [alertify.js](http://alertifyjs.com/) documentation [here](http://alertifyjs.com/)
More option? read [alertify.js](http://alertifyjs.com/) documentation [here](http://alertifyjs.com/)

Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* AlertifyJS
* alertifyjs
* AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications.
*
* @author Mohammad Younes <Mohammad@alertifyjs.com> (http://alertifyjs.com)
* @copyright 2015
* @license MIT <http://opensource.org/licenses/mit-license.php>
* @link http://alertifyjs.com
* @module AlertifyJS
* @version 1.2.0
* @module alertifyjs
* @version 1.2.1
*/
( function ( window ) {
'use strict';
Expand Down Expand Up @@ -3252,7 +3252,7 @@
if ( typeof module === 'object' && typeof module.exports === 'object' ) {
module.exports = alertify;
// AMD
} else if ( typeof define === 'function' ) {
} else if ( typeof define === 'function' && define.amd) {
define( [], function () {
return alertify;
} );
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions lib/alertifyjs/rails/engine.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
module Alertifyjs #:nodoc:
module Rails #:nodoc:
class Engine < ::Rails::Engine
initializer 'alertifyjs-rails.assets.precompile' do |app|
%w(stylesheets javascripts).each do |sub|
app.config.assets.paths << root.join('app/assets', sub).to_s
end
end
end
end
end
3 changes: 1 addition & 2 deletions lib/alertifyjs/rails/version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module Alertifyjs #:nodoc:
module Rails #:nodoc:
VERSION = "1.2.0"
ALERTIFYJS_VERSION = "1.2.0"
VERSION = "1.2.1"
end
end

0 comments on commit 5a7e6b7

Please sign in to comment.