diff --git a/app/assets/javascripts/alertify.js b/app/assets/javascripts/alertify.js old mode 100755 new mode 100644 index c3ee0a4..085891a --- a/app/assets/javascripts/alertify.js +++ b/app/assets/javascripts/alertify.js @@ -1,5 +1,5 @@ /** - * alertifyjs 1.4.1 http://alertifyjs.com + * alertifyjs 1.5.0 http://alertifyjs.com * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. * Copyright 2015 Mohammad Younes (http://alertifyjs.com) * Licensed under MIT */ @@ -127,7 +127,68 @@ element.removeChild(element.lastChild); } } + /** + * Extends a given prototype by merging properties from base into sub. + * + * @sub {Object} sub The prototype being overwritten. + * @base {Object} base The prototype being written. + * + * @return {Object} The extended prototype. + */ + function copy(src) { + if(null === src) + return src; + if(Array.isArray(src)){ + var cpy = []; + for(var x=0;x (http://alertifyjs.com) * Licensed under MIT */ diff --git a/app/assets/stylesheets/alertify.rtl.css b/app/assets/stylesheets/alertify.rtl.css index b8982bb..d1fb6b5 100755 --- a/app/assets/stylesheets/alertify.rtl.css +++ b/app/assets/stylesheets/alertify.rtl.css @@ -1,5 +1,5 @@ /** - * alertifyjs 1.4.1 http://alertifyjs.com + * alertifyjs 1.5.0 http://alertifyjs.com * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. * Copyright 2015 Mohammad Younes (http://alertifyjs.com) * Licensed under MIT */ diff --git a/app/assets/stylesheets/alertify/bootstrap.css b/app/assets/stylesheets/alertify/bootstrap.css index 3c7fea7..5f1f620 100644 --- a/app/assets/stylesheets/alertify/bootstrap.css +++ b/app/assets/stylesheets/alertify/bootstrap.css @@ -1,5 +1,5 @@ /** - * alertifyjs 1.4.1 http://alertifyjs.com + * alertifyjs 1.5.0 http://alertifyjs.com * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. * Copyright 2015 Mohammad Younes (http://alertifyjs.com) * Licensed under MIT */ diff --git a/app/assets/stylesheets/alertify/bootstrap.rtl.css b/app/assets/stylesheets/alertify/bootstrap.rtl.css index ef5df41..b42bff9 100644 --- a/app/assets/stylesheets/alertify/bootstrap.rtl.css +++ b/app/assets/stylesheets/alertify/bootstrap.rtl.css @@ -1,5 +1,5 @@ /** - * alertifyjs 1.4.1 http://alertifyjs.com + * alertifyjs 1.5.0 http://alertifyjs.com * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. * Copyright 2015 Mohammad Younes (http://alertifyjs.com) * Licensed under MIT */ diff --git a/app/assets/stylesheets/alertify/default.css b/app/assets/stylesheets/alertify/default.css index 88f86ad..c86ebd1 100644 --- a/app/assets/stylesheets/alertify/default.css +++ b/app/assets/stylesheets/alertify/default.css @@ -1,5 +1,5 @@ /** - * alertifyjs 1.4.1 http://alertifyjs.com + * alertifyjs 1.5.0 http://alertifyjs.com * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. * Copyright 2015 Mohammad Younes (http://alertifyjs.com) * Licensed under MIT */ diff --git a/app/assets/stylesheets/alertify/default.rtl.css b/app/assets/stylesheets/alertify/default.rtl.css index 611f798..9645120 100644 --- a/app/assets/stylesheets/alertify/default.rtl.css +++ b/app/assets/stylesheets/alertify/default.rtl.css @@ -1,5 +1,5 @@ /** - * alertifyjs 1.4.1 http://alertifyjs.com + * alertifyjs 1.5.0 http://alertifyjs.com * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. * Copyright 2015 Mohammad Younes (http://alertifyjs.com) * Licensed under MIT */ diff --git a/app/assets/stylesheets/alertify/semantic.css b/app/assets/stylesheets/alertify/semantic.css index e7ec843..681741e 100644 --- a/app/assets/stylesheets/alertify/semantic.css +++ b/app/assets/stylesheets/alertify/semantic.css @@ -1,5 +1,5 @@ /** - * alertifyjs 1.4.1 http://alertifyjs.com + * alertifyjs 1.5.0 http://alertifyjs.com * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. * Copyright 2015 Mohammad Younes (http://alertifyjs.com) * Licensed under MIT */ diff --git a/app/assets/stylesheets/alertify/semantic.rtl.css b/app/assets/stylesheets/alertify/semantic.rtl.css index 6669ff6..196ef02 100644 --- a/app/assets/stylesheets/alertify/semantic.rtl.css +++ b/app/assets/stylesheets/alertify/semantic.rtl.css @@ -1,5 +1,5 @@ /** - * alertifyjs 1.4.1 http://alertifyjs.com + * alertifyjs 1.5.0 http://alertifyjs.com * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. * Copyright 2015 Mohammad Younes (http://alertifyjs.com) * Licensed under MIT */ diff --git a/lib/alertifyjs/rails/version.rb b/lib/alertifyjs/rails/version.rb index 8bd309a..4e2af20 100644 --- a/lib/alertifyjs/rails/version.rb +++ b/lib/alertifyjs/rails/version.rb @@ -1,5 +1,5 @@ module Alertifyjs #:nodoc: module Rails #:nodoc: - VERSION = "1.4.1" + VERSION = "1.5.0" end end