Skip to content
This repository has been archived by the owner on May 5, 2018. It is now read-only.

Commit

Permalink
release(v0.4.0): ermahgerd-baconaise-batman!
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean Sofer committed Feb 13, 2013
1 parent a64b720 commit a86fbc2
Show file tree
Hide file tree
Showing 5 changed files with 1,058 additions and 913 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,29 @@

## Master

## v0.4.0
* **Validate directive** has been upgraded
* **API BREAKING CHANGE!** now takes expressions instead of function references
* You must explicitly specify the $value variable, but you no longer need to create a function
* **NEW FEATURE** uiValidateWatch allows you to re-fire a validation rule (or all rules) when a related model changes (confirm_password)
* **CodeMirror directive** has been updated
* Now works with v3.02
* **NEW FEATURE** uiRefresh lets you specify an expression to watch for changes to refresh codemirror (useful for modals)
* **Mask directive** has many new fixes
* Fixes for **uiDate**
* **DateFormat directive** can now be declared in **uiConfig**
* **uiJq Passthru directive** has upgrades to support a wider variety of directives
* Now fires asyncronously post-angular-rendering of the view (**uiDefer** option is now always true)
* New **uiRefresh** lets you specify an expression to watch to re-fire the plugin (call $(elm).focus() when a modal opens)
* **Select2 directive** now adds support for setting the selected item by specifying a simple ID
* FINALLY have unit-tests for Select2!
* **IEShiv** has been simplified and stripped of browser-sniffing code (just use conditional comments)
* **Calendar directive** now performs better watching of events data
* **Sortable directive** now properly supports connectWith option
* New **route directive** that sets a boolean based on a pattern match of the current route (useful for tabs/navigation)
* Refactored **If directive** to be tidier
* **API BREAKING CHANGE!** **Modal directive** has been completely removed (if you still need it, grab the files from v0.3.x)

## v0.3.0
* New **format** filter
* Lots of cleanup! Consistent indentation, linting
Expand Down
36 changes: 7 additions & 29 deletions build/angular-ui-ieshiv.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* AngularUI - The companion suite for AngularJS
* @version v0.3.2 - 2012-12-04
* @version v0.3.2 - 2013-02-12
* @link http://angular-ui.github.com
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
Expand Down Expand Up @@ -31,21 +31,7 @@
window.myCustomTags = window.myCustomTags || []; // externally defined by developer using angular-ui directives
tags.push.apply(tags, window.myCustomTags);

var getIE = function () {
// Returns the version of Internet Explorer or a -1
// (indicating the use of another browser).
var rv = -1; // Return value assumes failure.
if (navigator.appName == 'Microsoft Internet Explorer') {
var ua = navigator.userAgent;
var re = new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})");
if (re.exec(ua) !== null) {
rv = parseFloat(RegExp.$1);
}
}
return rv;
};

var toCustomElements = function (str, delim) {
var toCustomElements = function (str) {
var result = [];
var dashed = str.replace(/([A-Z])/g, function ($1) {
return " " + $1.toLowerCase();
Expand All @@ -62,20 +48,12 @@
return result;
};

var shiv = function () {
for (var i = 0, tlen = tags.length; i < tlen; i++) {
var customElements = toCustomElements(tags[i], ':');
for (var j = 0, clen = customElements.length; j < clen; j++) {
var customElement = customElements[j];
document.createElement(customElement);
}
for (var i = 0, tlen = tags.length; i < tlen; i++) {
var customElements = toCustomElements(tags[i]);
for (var j = 0, clen = customElements.length; j < clen; j++) {
var customElement = customElements[j];
document.createElement(customElement);
}
};

var ieVersion = getIE();

if ((ieVersion > -1 && ieVersion < 9) || debug) {
shiv();
}

})(window);
4 changes: 2 additions & 2 deletions build/angular-ui-ieshiv.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a86fbc2

Please sign in to comment.