Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

newer file structure without src folder

  • Loading branch information...
commit eea1572c289ff63e5d4d5a10cf48897addabfade 1 parent ccb7c5c
Andrew Joslin ajoslin authored
Showing with 9 additions and 107 deletions.
  1. 0  common/ieshiv/{src → }/ieshiv.js
  2. 0  common/{src → }/module.js
  3. +1 −1  common/stylesheets/angular-ui.less
  4. +6 −4 grunt.js
  5. BIN  modules/directives/codemirror/.DS_Store
  6. 0  modules/directives/codemirror/{src → }/codemirror.js
  7. 0  modules/directives/currency/{src → }/currency.js
  8. 0  modules/directives/date/{src → }/date.coffee
  9. +0 −60 modules/directives/date/src/date.js
  10. +1 −0  modules/directives/date/test/dateSpec.js
  11. 0  modules/directives/event/{src → }/event.js
  12. BIN  modules/directives/jq/.DS_Store
  13. 0  modules/directives/jq/{src → }/jq.js
  14. 0  modules/directives/keypress/{src → }/keypress.js
  15. 0  modules/directives/map/{src → }/map.js
  16. 0  modules/directives/mask/{src → }/mask.coffee
  17. +0 −42 modules/directives/mask/src/mask.js
  18. +1 −0  modules/directives/mask/test/maskSpec.js
  19. 0  modules/directives/modal/{src → }/modal.js
  20. 0  modules/directives/remove/{src → }/remove.js
  21. 0  modules/directives/reset/{src → }/reset.js
  22. 0  modules/directives/scrollfix/{src → }/scrollfix.js
  23. BIN  modules/directives/select2/.DS_Store
  24. 0  modules/directives/select2/{src → }/select2.js
  25. 0  modules/directives/showhide/{src → }/showhide.js
  26. 0  modules/directives/tinymce/{src → }/tinymce.js
  27. 0  modules/filters/highlight/{src → }/highlight.js
  28. 0  modules/filters/highlight/{src → }/highlight.less
  29. 0  modules/filters/length/{src → }/length.js
  30. 0  modules/filters/prettify/{src → }/prettify.js
  31. 0  modules/filters/unique/{src → }/unique.js
0  common/ieshiv/src/ieshiv.js → common/ieshiv/ieshiv.js
View
File renamed without changes
0  common/src/module.js → common/module.js
View
File renamed without changes
2  common/stylesheets/angular-ui.less
View
@@ -4,4 +4,4 @@
@import "mixins.less";
@import "modules/directives/reset/stylesheets/reset.less";
@import "modules/directives/currency/stylesheets/currency.less";
-@import "modules/filters/highlight/src/highlight.less";
+@import "modules/filters/highlight/highlight.less";
10 grunt.js
View
@@ -13,12 +13,14 @@ module.exports = function(grunt) {
},
concat: {
basic: {
- src: ['<banner:meta.banner>', 'common/src/*.js', 'modules/**/src/*.js'],
- dest: 'build/<%= pkg.name %>.js'
+ src: ['<banner:meta.banner>', 'common/*.js', 'modules/*/*/*.js'],
+ dest: 'build/<%= pkg.name %>.js',
+ exclude: 'modules/**/test/*.js'
},
ieshiv: {
- src: ['<banner:meta.banner>', 'common/ieshiv/src/*.js'],
- dest: 'build/<%= pkg.name %>-ieshiv.js'
+ src: ['<banner:meta.banner>', 'common/ieshiv/*.js'],
+ dest: 'build/<%= pkg.name %>-ieshiv.js',
+ exclude: 'modules/**/test/*.js'
}
},
min: {
BIN  modules/directives/codemirror/.DS_Store
View
Binary file not shown
0  modules/directives/codemirror/src/codemirror.js → modules/directives/codemirror/codemirror.js
View
File renamed without changes
0  modules/directives/currency/src/currency.js → modules/directives/currency/currency.js
View
File renamed without changes
0  modules/directives/date/src/date.coffee → modules/directives/date/date.coffee
View
File renamed without changes
60 modules/directives/date/src/date.js
View
@@ -1,60 +0,0 @@
-// Generated by CoffeeScript 1.3.3
-/*
- jQuery UI Datepicker plugin wrapper
-
- @param [ui-date] {object} Options to pass to $.fn.datepicker() merged onto ui.config
-*/
-
-angular.module('ui.directives').directive('uiDate', [
- 'ui.config', function(uiConfig) {
- var options;
- options = {};
- if (uiConfig.date != null) {
- angular.extend(options, uiConfig.date);
- }
- return {
- require: '?ngModel',
- link: function(scope, element, attrs, controller) {
- var opts, originalRender, updateModel, usersOnSelectHandler;
- opts = angular.extend({}, options, scope.$eval(attrs.uiDate));
- /* If we have a controller (i.e. ngModelController) then wire it up
- */
-
- if (controller != null) {
- updateModel = function(value, picker) {
- return scope.$apply(function() {
- return controller.$setViewValue(element.datepicker("getDate"));
- });
- };
- if (opts.onSelect != null) {
- /* Caller has specified onSelect to call this as well as updating the model
- */
-
- usersOnSelectHandler = opts.onSelect;
- opts.onSelect = function(value, picker) {
- updateModel(value);
- return usersOnSelectHandler(value, picker);
- };
- } else {
- /* No onSelect already specified so just update the model
- */
-
- opts.onSelect = updateModel;
- }
- /* Update the date picker when the model changes
- */
-
- originalRender = controller.$render;
- controller.$render = function() {
- originalRender();
- return element.datepicker("setDate", controller.$viewValue);
- };
- }
- /* Create the datepicker widget
- */
-
- return element.datepicker(opts);
- }
- };
- }
-]);
1  modules/directives/date/test/dateSpec.js
View
@@ -1,3 +1,4 @@
+// Generated by CoffeeScript 1.3.3
describe('uiDate', function() {
var selectDate;
0  modules/directives/event/src/event.js → modules/directives/event/event.js
View
File renamed without changes
BIN  modules/directives/jq/.DS_Store
View
Binary file not shown
0  modules/directives/jq/src/jq.js → modules/directives/jq/jq.js
View
File renamed without changes
0  modules/directives/keypress/src/keypress.js → modules/directives/keypress/keypress.js
View
File renamed without changes
0  modules/directives/map/src/map.js → modules/directives/map/map.js
View
File renamed without changes
0  modules/directives/mask/src/mask.coffee → modules/directives/mask/mask.coffee
View
File renamed without changes
42 modules/directives/mask/src/mask.js
View
@@ -1,42 +0,0 @@
-// Generated by CoffeeScript 1.3.3
-/*
- Attaches jquery-ui input mask onto input element
-*/
-
-angular.module('ui.directives').directive('uiMask', [
- function() {
- return {
- require: 'ngModel',
- scope: {
- uiMask: '='
- },
- link: function($scope, element, attrs, controller) {
- /* We override the render method to run the jQuery mask plugin
- */
- controller.$render = function() {
- var value;
- value = controller.$viewValue || '';
- element.val(value);
- return element.mask($scope.uiMask);
- };
- /* Add a parser that extracts the masked value into the model but only if the mask is valid
- */
-
- controller.$parsers.push(function(value) {
- var isValid;
- isValid = element.data('mask-isvalid');
- controller.$setValidity('mask', isValid);
- return element.mask();
- });
- /* When keyup, update the viewvalue
- */
-
- return element.bind('keyup', function() {
- return $scope.$apply(function() {
- return controller.$setViewValue(element.mask());
- });
- });
- }
- };
- }
-]);
1  modules/directives/mask/test/maskSpec.js
View
@@ -1,3 +1,4 @@
+// Generated by CoffeeScript 1.3.3
describe('uiMask', function() {
beforeEach(module('ui.directives'));
0  modules/directives/modal/src/modal.js → modules/directives/modal/modal.js
View
File renamed without changes
0  modules/directives/remove/src/remove.js → modules/directives/remove/remove.js
View
File renamed without changes
0  modules/directives/reset/src/reset.js → modules/directives/reset/reset.js
View
File renamed without changes
0  modules/directives/scrollfix/src/scrollfix.js → modules/directives/scrollfix/scrollfix.js
View
File renamed without changes
BIN  modules/directives/select2/.DS_Store
View
Binary file not shown
0  modules/directives/select2/src/select2.js → modules/directives/select2/select2.js
View
File renamed without changes
0  modules/directives/showhide/src/showhide.js → modules/directives/showhide/showhide.js
View
File renamed without changes
0  modules/directives/tinymce/src/tinymce.js → modules/directives/tinymce/tinymce.js
View
File renamed without changes
0  modules/filters/highlight/src/highlight.js → modules/filters/highlight/highlight.js
View
File renamed without changes
0  modules/filters/highlight/src/highlight.less → modules/filters/highlight/highlight.less
View
File renamed without changes
0  modules/filters/length/src/length.js → modules/filters/length/length.js
View
File renamed without changes
0  modules/filters/prettify/src/prettify.js → modules/filters/prettify/prettify.js
View
File renamed without changes
0  modules/filters/unique/src/unique.js → modules/filters/unique/unique.js
View
File renamed without changes

2 comments on commit eea1572

Dean Sofer
Owner

Dude
.DS_STORE
Not cool dude, not cool.

Andrew Joslin
Owner

haha, I think we already talked about this.

Please sign in to comment.
Something went wrong with that request. Please try again.