Skip to content

Commit

Permalink
fix(alert): use original bootstrap class names
Browse files Browse the repository at this point in the history
  • Loading branch information
pkozlowski-opensource committed Jan 20, 2013
1 parent d19862b commit 632f0cc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion misc/demo-assets/rainbow-html.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Rainbow.extend('html', [
{
'matches': {
1: 'support.tag.open',
2: 'support.tag.close'
2: 'support.tag.cclose'
},
'pattern': /(<)|(\/?\??>)/g
},
Expand Down
2 changes: 1 addition & 1 deletion misc/demo-assets/rainbow-javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Rainbow.extend('javascript', [
'name': 'constant.regexp.escape',
'pattern': /\\(.){1}/g
},
3: 'string.regexp.close',
3: 'string.regexp.cclose',
4: 'string.regexp.modifier'
},
'pattern': /(\/)(?!\*)(.+)(\/)([igm]{0,3})/g
Expand Down
2 changes: 1 addition & 1 deletion misc/demo-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<script>
angular.module('bootstrapDemoApp', ['ui.bootstrap', 'plunker']);
</script>
<link rel="stylesheet" href="assets/bootstrap.css"/>
<link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-combined.min.css" rel="stylesheet">
<link rel="stylesheet" href="assets/bootstrap-responsive.css"/>
<link rel="stylesheet" href="assets/rainbow.css"/>
<link rel="stylesheet" href="assets/demo.css"/>
Expand Down
2 changes: 1 addition & 1 deletion template/alert/alert.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class='alert alert-block' ng-class="'alert-' + type">
<button type='button' class='cclose' ng-click='dismiss()'>&times;</button>
<button type='button' class='close' ng-click='dismiss()'>&times;</button>
<div ng-transclude></div>
</div>

0 comments on commit 632f0cc

Please sign in to comment.