Skip to content

Commit

Permalink
Merge branch 'js'
Browse files Browse the repository at this point in the history
  • Loading branch information
sinedied committed Mar 11, 2016
2 parents bfdb234 + fbf7946 commit e6fe7f8
Show file tree
Hide file tree
Showing 64 changed files with 4,919 additions and 2,714 deletions.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"angular-sanitize": "~1.5.0",
"angular-ui-router": "~0.2.15",
"angular": "~1.5.0",
"lodash": "~4.5.0",
"lodash": "~4.6.1",
"angular-gettext": "~2.2.1",
"font-awesome": "~4.5.0",
"angular-bootstrap": "~1.1.2",
"angular-bootstrap": "~1.2.4",
"bootstrap-sass": "~3.3.6"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion gulp/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ gulp.task('scripts', ['typescript'], function() {
.on('error', noop) // don't stop on error
.pipe(stylish.combineWithHintResults()) // combine results
.pipe($.jshint.reporter('jshint-stylish')) // reporter
.pipe(browserSync.reload({stream: true}))
.pipe(browserSync.stream())
.pipe($.size()); // Display the size
});
6 changes: 2 additions & 4 deletions gulp/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ var conf = require('../gulpfile.config');

var browserSync = require('browser-sync');

var $ = require('gulp-load-plugins')({
pattern: ['gulp-*', 'main-bower-files']
});
var $ = require('gulp-load-plugins')();

var wiredep = require('wiredep').stream;
var _ = require('lodash');
Expand Down Expand Up @@ -43,5 +41,5 @@ gulp.task('styles', ['fonts'], function() {
.pipe($.autoprefixer()).on('error', conf.errorHandler('Autoprefixer'))
.pipe($.sourcemaps.write())
.pipe(gulp.dest(path.join(conf.paths.tmp, '/css/')))
.pipe(browserSync.reload({stream: true}));
.pipe(browserSync.stream());
});
7 changes: 3 additions & 4 deletions gulp/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ var tsProject = $.typescript.createProject('tsconfig.json', {sortOutput: true});

gulp.task('typescript', function() {
return gulp.src([
path.join(conf.paths.src, '/main/main.module.ts'),
path.join(conf.paths.src, '/modules/**/*.ts'),
path.join(conf.paths.src, '/main/*.ts')
path.join(conf.paths.src, '/main/**/*.ts'),
path.join(conf.paths.src, '/modules/**/*.ts')
])
.pipe($.sourcemaps.init())
.pipe($.tslint())
Expand All @@ -25,6 +24,6 @@ gulp.task('typescript', function() {
sourceRoot: '../'
}))
.pipe(gulp.dest(path.join(conf.paths.tmp)))
.pipe(browserSync.reload({stream: true}))
.pipe(browserSync.stream())
.pipe($.size());
});
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"gulp-cache": "~0.4.2",
"gulp-clean-css": "^2.0.3",
"gulp-concat": "~2.6.0",
"gulp-filter": "~3.0.1",
"gulp-filter": "^3.0.1",
"gulp-flatten": "~0.2.0",
"gulp-htmlmin": "^1.3.0",
"gulp-if": "^2.0.0",
Expand All @@ -36,44 +36,44 @@
"gulp-jscs-stylish": "~1.3.0",
"gulp-jshint": "^2.0.0",
"gulp-load-plugins": "~1.2.0",
"gulp-ng-annotate": "~1.1.0",
"gulp-ng-annotate": "^2.0.0",
"gulp-protractor": "~2.1.0",
"gulp-rename": "~1.2.2",
"gulp-replace": "~0.5.4",
"gulp-rev": "~7.0.0",
"gulp-rev-replace": "~0.4.3",
"gulp-sass": "^2.2.0",
"gulp-shell": "~0.5.2",
"gulp-size": "~2.0.0",
"gulp-size": "^2.1.0",
"gulp-sourcemaps": "~1.6.0",
"gulp-tsd": "0.1.0",
"gulp-tslint": "^4.3.2",
"gulp-typescript": "~2.11.0",
"gulp-uglify": "~1.5.2",
"gulp-tslint": "^4.3.3",
"gulp-typescript": "^2.12.1",
"gulp-uglify": "^1.5.3",
"gulp-useref": "^2.1.0",
"gulp-util": "~3.0.7",
"http-proxy-middleware": "^0.10.0",
"http-proxy-middleware": "^0.11.0",
"https-proxy-agent": "^1.0.0",
"jasmine-spec-reporter": "^2.4.0",
"jshint": "^2.9.1",
"jshint-stylish": "~2.1.0",
"karma": "~0.13.21",
"karma": "^0.13.22",
"karma-angular-filesort": "~1.0.1",
"karma-chrome-launcher": "~0.2.2",
"karma-coverage": "0.5.3",
"karma-coverage": "^0.5.5",
"karma-jasmine": "~0.3.7",
"karma-junit-reporter": "^0.3.8",
"karma-junit-reporter": "^0.4.0",
"karma-ng-html2js-preprocessor": "~0.2.1",
"karma-phantomjs-launcher": "~1.0.0",
"lodash": "^4.5.0",
"lodash": "^4.6.1",
"main-bower-files": "~2.11.1",
"merge-stream": "~1.0.0",
"phantomjs-prebuilt": "^2.1.4",
"phantomjs-prebuilt": "^2.1.5",
"protractor-html-screenshot-reporter": "0.0.21",
"require-dir": "~0.3.0",
"tsd": "~0.6.5",
"tslint": "^3.3.0",
"typescript": "~1.7.5",
"tslint": "^3.5.0",
"typescript": "^1.8.7",
"uglify-save-license": "~0.4.1",
"wiredep": "~3.0.0",
"wrench": "~1.5.8"
Expand Down
10 changes: 5 additions & 5 deletions sources/libraries/angular-bootstrap/.bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@
"license": "MIT",
"ignore": [],
"description": "Native AngularJS (Angular) directives for Bootstrap.",
"version": "1.1.2",
"version": "1.2.4",
"main": [
"./ui-bootstrap-tpls.js"
],
"dependencies": {
"angular": ">=1.4.0"
},
"homepage": "https://github.com/angular-ui/bootstrap-bower",
"_release": "1.1.2",
"_release": "1.2.4",
"_resolution": {
"type": "version",
"tag": "1.1.2",
"commit": "189241b8981b48a353ebc8161a597ffc144e712d"
"tag": "1.2.4",
"commit": "f8a2ccbdcec7688a7482ed55b5665df7e0c0e5b9"
},
"_source": "https://github.com/angular-ui/bootstrap-bower.git",
"_target": "~1.1.2",
"_target": "~1.2.4",
"_originalSource": "angular-bootstrap"
}
2 changes: 1 addition & 1 deletion sources/libraries/angular-bootstrap/bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"license": "MIT",
"ignore": [],
"description": "Native AngularJS (Angular) directives for Bootstrap.",
"version": "1.1.2",
"version": "1.2.4",
"main": ["./ui-bootstrap-tpls.js"],
"dependencies": {
"angular": ">=1.4.0"
Expand Down
2 changes: 1 addition & 1 deletion sources/libraries/angular-bootstrap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-ui-bootstrap",
"version": "1.1.2",
"version": "1.2.4",
"description": "Bootstrap widgets for Angular",
"main": "index.js",
"homepage": "http://angular-ui.github.io/bootstrap/",
Expand Down
48 changes: 48 additions & 0 deletions sources/libraries/angular-bootstrap/ui-bootstrap-csp.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@
-webkit-transition: 0s ease-in-out left;
transition: 0s ease-in-out left
}
.uib-position-measure {
display: block !important;
visibility: hidden !important;
position: absolute !important;
top: -9999px !important;
left: -9999px !important;
}

.uib-position-scrollbar-measure {
position: absolute;
top: -9999px;
width: 50px;
height: 50px;
overflow: scroll;
}
.uib-datepicker .uib-title {
width: 100%;
}
Expand All @@ -14,12 +29,45 @@

.uib-datepicker-popup.dropdown-menu {
display: block;
float: none;
margin: 0;
}

.uib-button-bar {
padding: 10px 9px 2px;
}

.uib-left, .uib-right {
width: 100%
}

[uib-tooltip-popup].tooltip.top-left > .tooltip-arrow,
[uib-tooltip-popup].tooltip.top-right > .tooltip-arrow,
[uib-tooltip-popup].tooltip.bottom-left > .tooltip-arrow,
[uib-tooltip-popup].tooltip.bottom-right > .tooltip-arrow,
[uib-tooltip-popup].tooltip.left-top > .tooltip-arrow,
[uib-tooltip-popup].tooltip.left-bottom > .tooltip-arrow,
[uib-tooltip-popup].tooltip.right-top > .tooltip-arrow,
[uib-tooltip-popup].tooltip.right-bottom > .tooltip-arrow,
[uib-popover-popup].popover.top-left > .arrow,
[uib-popover-popup].popover.top-right > .arrow,
[uib-popover-popup].popover.bottom-left > .arrow,
[uib-popover-popup].popover.bottom-right > .arrow,
[uib-popover-popup].popover.left-top > .arrow,
[uib-popover-popup].popover.left-bottom > .arrow,
[uib-popover-popup].popover.right-top > .arrow,
[uib-popover-popup].popover.right-bottom > .arrow {
top: auto;
bottom: auto;
left: auto;
right: auto;
margin: 0;
}

[uib-popover-popup].popover, [uib-popover-template-popup].popover {
display: block !important;
}

.uib-time input {
width: 50px;
}
Expand Down
Loading

0 comments on commit e6fe7f8

Please sign in to comment.