パッケージの詳細

ngalertify

alertifyjs84MPL-2.01.0.2

Angular JS module for Alertify.js

angular, angularjs, alertify, alertifyjs

readme

ngAlertify

Build Status

Angular JS module that wraps the Alertify.js global window function.

Usage

angular.module("myModule", ["ngAlertify"]).controller("myCtrl", ["alertify", function(alertify) {

// Use alertify here as you normally would.
alertify.alert("Hello, world!");

}]);

Developing

The package version should match the underlying Alertify.js version. Alertify.js code is a submodule, so update it when necessary:

git submodule update

Changes to Alertify.js itself should be done via the Alertify.js repo.

The workflow is Gulp powerered, so just run the following to develop:

gulp

Contributing

Contributions are welcomed. Make sure to follow the ESlint style guide and add tests for all changes. Thanks in advance!

License

This code is licensed under the MPL-2.0 license, while the Alertify.js module has it's own licensing (MIT and MPL-2.0 mixed).

更新履歴

1.0.2

  • Fixes ngAlertify issues
  • Adds Karma unit testing
  • Adds SauceLabs to CI process
  • Fixes website documentation typos
  • Updates rawgit link on website

1.0.1

  • Fixes an issue with default button labels being undefined
  • Removes jQuery dependency from website
  • Updates website to better understand user interaction
  • Optimizes website a bit more for mobile

1.0.0-rc1

  • Removes the alertify.extend method
  • Removes the public alertify.init method.
  • Removes the returning of the alertify global in all methods.
  • Removes the reversal of buttons.
  • Updates the default styles to be cleaner, lighter.
  • Adds an AngularJS module.
  • Removes handling of element focus.
  • Adds a limit to number of log messages displayed at any time.
  • Changes the log messages to have dynamic width.
  • Adds a beta preview of the new website look in examples directory.
  • Injects needed CSS automatically by default.
  • Added documentation for HTML in the dialogs.
  • Disabled the log click to close feature by default to allow for HTML.
  • Removes support for themes by default, add a custom stylesheet to override the default style.

0.3.18

  • Fixed issue with npm support. See PR #31
  • Updated SASS/CSS/JS file paths

0.3.17

  • Created NPM package.
  • Updated readme.
  • Added JSDelivr info.
  • Added npm support.