Skip to content
This repository has been archived by the owner on Apr 6, 2019. It is now read-only.

Commit

Permalink
Moved bower dependencies to app/vendor.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottwilliams committed Mar 24, 2014
1 parent 93f90ed commit e30d8c2
Show file tree
Hide file tree
Showing 517 changed files with 2,353 additions and 80,626 deletions.
3 changes: 3 additions & 0 deletions .bowerrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"directory": "app/vendor"
}
204 changes: 0 additions & 204 deletions app/bower_components/angular/angular.min.js

This file was deleted.

Binary file removed app/bower_components/angular/angular.min.js.gzip
Binary file not shown.
8 changes: 0 additions & 8 deletions app/bower_components/angular/angular.min.js.map

This file was deleted.

35 changes: 18 additions & 17 deletions app/index.html.template
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
OpenMRS Module Repository
</title>

<link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="lib/angular/angular-csp.css">
<link rel="stylesheet" href="vendor/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="vendor/angular/angular-csp.css">
<link rel="stylesheet" href="css/app.css"/>

<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
Expand Down Expand Up @@ -55,12 +55,14 @@

</header>

<div class="row alerts ng-hide" ng-controller="AlertCtrl" ng-repeat="alert in alerts">
<aside class="row alerts">

<div class="alert alert-{{type}}">{{description}}</div>
</div>
<p ng-repeat="alert in $root.alerts" class="alert alert-{{alert.type}}">
{{alert.content}}
</p>
</aside>

<div ng-view class="clearfix" ng-class="$root.controller"></div>
<section ng-view class="clearfix" ng-class="$root.controller"></section>

<noscript>
<p class="lead text-center">Unfortunatly, JavaScript is required to use the Module Repository.</p>
Expand All @@ -74,22 +76,21 @@
</div>


<script src="https://code.jquery.com/jquery.js"></script>
<script src="https://code.jquery.com/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="lib/bootstrap/js/bootstrap.min.js"></script>
<script src="lib/lodash/lodash.min.js"></script>
<script src="lib/angular-file-upload/angular-file-upload-shim.min.js"></script>
<script src="vendor/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="vendor/lodash/dist/lodash.min.js"></script>
<script src="vendor/danialfarid-angular-file-upload/dist/angular-file-upload-shim.min.js"></script>


<!-- In production use:
<script src="//ajax.googleapis.com/ajax/libs/angularjs/x.x.x/angular.min.js"></script>
-->
<script src="lib/angular/angular.js"></script>
<script src="lib/angular/angular-route.js"></script>
<script src="lib/angular/angular-resource.js"></script><!-- TODO: remove -->
<script src="lib/restangular/restangular.min.js"></script>
<script src="lib/xeditable/xeditable.min.js"></script>
<script src="lib/angular-file-upload/angular-file-upload.min.js"></script>
<script src="vendor/angular/angular.min.js"></script>
<script src="vendor/angular-route/angular-route.min.js"></script>
<script src="vendor/restangular/dist/restangular.min.js"></script>
<script src="vendor/angular-xeditable/dist/js/xeditable.min.js"></script>
<script src="vendor/danialfarid-angular-file-upload/dist/angular-file-upload.min.js"></script>

<script src="js/app.js"></script>
<script src="js/services.js"></script>
Expand All @@ -99,7 +100,7 @@
<script src="js/filters.js"></script>
<script src="js/directives.js"></script>

<link rel="stylesheet" href="lib/xeditable/xeditable.css">
<link rel="stylesheet" href="vendor/angular-xeditable/dist/css/xeditable.css">

</body>
</html>
1 change: 0 additions & 1 deletion app/js/app.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Declare app level module which depends on filters, and services
angular.module('modulusOne', [
'ngRoute',
'ngResource',
'restangular',
'modulusOne.filters',
'modulusOne.services',
Expand Down
Binary file removed app/lib/angular-file-upload/FileAPI.flash.swf
Binary file not shown.
72 changes: 0 additions & 72 deletions app/lib/angular-file-upload/FileAPI.min.js

This file was deleted.

30 changes: 0 additions & 30 deletions app/lib/angular-file-upload/angular-file-upload-html5-shim.js

This file was deleted.

This file was deleted.

Loading

0 comments on commit e30d8c2

Please sign in to comment.