Commit 86bf67f6c5516fbda4b0767df190f8fa589b126e
1 parent
cf443cf383
Exists in
master
and in
1 other branch
Implementación angular-ladda
Showing
4 changed files
with
11 additions
and
3 deletions
Show diff stats
gulpfile.js
| ... | ... | @@ -45,7 +45,8 @@ gulp.task('uglify', ['templates'], function() { |
| 45 | 45 | uglify(), |
| 46 | 46 | replace('"ngRoute","ui.bootstrap","focaModalVendedores","focaBusquedaProductos",'+ |
| 47 | 47 | '"focaModalProveedor","focaBusquedaCliente","focaModalPrecioCondicion",'+ |
| 48 | - '"focaModalFlete","focaDirectivas","focaModal","focaModalDomicilio"', ''), | |
| 48 | + '"focaModalFlete","focaDirectivas","focaModal","focaModalDomicilio",'+ | |
| 49 | + '"angular-ladda"', ''), | |
| 49 | 50 | gulp.dest(paths.dist) |
| 50 | 51 | ] |
| 51 | 52 | ); |
index.html
| ... | ... | @@ -6,6 +6,7 @@ |
| 6 | 6 | <!--CSS--> |
| 7 | 7 | <link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/> |
| 8 | 8 | <link href="node_modules/font-awesome/css/font-awesome.min.css" rel="stylesheet"/> |
| 9 | + <link href="node_modules/ladda/dist/ladda-themeless.min.css" rel="stylesheet"> | |
| 9 | 10 | |
| 10 | 11 | <!--VENDOR JS--> |
| 11 | 12 | <script src="node_modules/jquery/dist/jquery.min.js"></script> |
| ... | ... | @@ -13,6 +14,9 @@ |
| 13 | 14 | <script src="node_modules/angular/angular.min.js"></script> |
| 14 | 15 | <script src="node_modules/angular-route/angular-route.min.js"></script> |
| 15 | 16 | <script src="node_modules/ui-bootstrap4/dist/ui-bootstrap-tpls.js"></script> |
| 17 | + <script src="node_modules/ladda/dist/spin.min.js"></script> | |
| 18 | + <script src="node_modules/ladda/dist/ladda.min.js"></script> | |
| 19 | + <script src="node_modules/angular-ladda/dist/angular-ladda.min.js"></script> | |
| 16 | 20 | |
| 17 | 21 | <script src="node_modules/foca-directivas/dist/foca-directivas.min.js"></script> |
| 18 | 22 | <script src="node_modules/foca-modal-vendedores/dist/foca-modal-vendedores.min.js"></script> |
package.json
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | "compile": "gulp uglify", |
| 9 | 9 | "gulp-pre-commit": "gulp pre-commit", |
| 10 | 10 | "postinstall": "npm run compile && gulp clean-post-install", |
| 11 | - "install-dev": "npm install -D jasmine-core pre-commit angular angular-route bootstrap ui-bootstrap4 font-awesome gulp gulp-angular-templatecache gulp-connect gulp-clean gulp-htmlmin gulp-jshint gulp-rename gulp-replace gulp-sequence gulp-uglify-es gulp-uglify jquery jshint pump git+https://debo.suite.repo/modulos-npm/foca-directivas.git git+https://debo.suite.repo/modulos-npm/foca-modal-vendedores.git git+https://debo.suite.repo/modulos-npm/foca-modal-proveedor.git git+https://debo.suite.repo/modulos-npm/foca-modal-busqueda-productos git+https://debo.suite.repo/modulos-npm/foca-busqueda-cliente.git git+https://debo.suite.repo/modulos-npm/foca-modal-precio-condiciones.git git+https://debo.suite.repo/modulos-npm/foca-modal-flete git+https://debo.suite.repo/modulos-npm/foca-modal.git git+https://debo.suite.repo/modulos-npm/foca-modal-domicilio.git" | |
| 11 | + "install-dev": "npm install -D jasmine-core pre-commit angular angular-ladda ladda@1.0.6 angular-route bootstrap ui-bootstrap4 font-awesome gulp gulp-angular-templatecache gulp-connect gulp-clean gulp-htmlmin gulp-jshint gulp-rename gulp-replace gulp-sequence gulp-uglify-es gulp-uglify jquery jshint pump git+https://debo.suite.repo/modulos-npm/foca-directivas.git git+https://debo.suite.repo/modulos-npm/foca-modal-vendedores.git git+https://debo.suite.repo/modulos-npm/foca-modal-proveedor.git git+https://debo.suite.repo/modulos-npm/foca-modal-busqueda-productos git+https://debo.suite.repo/modulos-npm/foca-busqueda-cliente.git git+https://debo.suite.repo/modulos-npm/foca-modal-precio-condiciones.git git+https://debo.suite.repo/modulos-npm/foca-modal-flete git+https://debo.suite.repo/modulos-npm/foca-modal.git git+https://debo.suite.repo/modulos-npm/foca-modal-domicilio.git" | |
| 12 | 12 | }, |
| 13 | 13 | "pre-commit": [ |
| 14 | 14 | "gulp-pre-commit" |
| ... | ... | @@ -28,6 +28,7 @@ |
| 28 | 28 | }, |
| 29 | 29 | "devDependencies": { |
| 30 | 30 | "angular": "^1.7.5", |
| 31 | + "angular-ladda": "^0.4.3", | |
| 31 | 32 | "angular-route": "^1.7.5", |
| 32 | 33 | "bootstrap": "^4.1.3", |
| 33 | 34 | "foca-busqueda-cliente": "git+https://debo.suite.repo/modulos-npm/foca-busqueda-cliente.git", |
| ... | ... | @@ -55,6 +56,7 @@ |
| 55 | 56 | "jasmine-core": "^3.3.0", |
| 56 | 57 | "jquery": "^3.3.1", |
| 57 | 58 | "jshint": "^2.9.6", |
| 59 | + "ladda": "1.0.6", | |
| 58 | 60 | "pre-commit": "^1.2.2", |
| 59 | 61 | "pump": "^3.0.0", |
| 60 | 62 | "ui-bootstrap4": "^3.0.5" |