mirror of
				https://github.com/mdbootstrap/mdb-ui-kit.git
				synced 2025-11-04 09:57:36 +03:00 
			
		
		
		
	revert back before the newline at end of file fix.
This commit is contained in:
		
							parent
							
								
									5c846ea29b
								
							
						
					
					
						commit
						794c439828
					
				
							
								
								
									
										77
									
								
								Gruntfile.js
									
									
									
									
									
								
							
							
						
						
									
										77
									
								
								Gruntfile.js
									
									
									
									
									
								
							| 
						 | 
					@ -130,68 +130,6 @@ module.exports = function(grunt) {
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Ensure new line at end of every file
 | 
					 | 
				
			||||||
    file_append: {
 | 
					 | 
				
			||||||
      materialcss: {
 | 
					 | 
				
			||||||
        files: {
 | 
					 | 
				
			||||||
          "dist/css/material.css": { append: "\u000A" },
 | 
					 | 
				
			||||||
          "dist/css/material.min.css": { append: "\u000A" },
 | 
					 | 
				
			||||||
          "dist/css/material.css.map": { append: "\u000A" },
 | 
					 | 
				
			||||||
          "dist/css/material.min.css.map": { append: "\u000A" }
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      materialwfontcss: {
 | 
					 | 
				
			||||||
        files: {
 | 
					 | 
				
			||||||
          "dist/css/material-wfont.css": { append: "\u000A" },
 | 
					 | 
				
			||||||
          "dist/css/material-wfont.min.css": { append: "\u000A" },
 | 
					 | 
				
			||||||
          "dist/css/material-wfont.css.map": { append: "\u000A" },
 | 
					 | 
				
			||||||
          "dist/css/material-wfont.min.css.map": { append: "\u000A" }
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      ripplescss: {
 | 
					 | 
				
			||||||
        files: {
 | 
					 | 
				
			||||||
          "dist/css/ripples.css": { append: "\u000A" },
 | 
					 | 
				
			||||||
          "dist/css/ripples.min.css": { append: "\u000A" },
 | 
					 | 
				
			||||||
          "dist/css/ripples.css.map": { append: "\u000A" },
 | 
					 | 
				
			||||||
          "dist/css/ripples.min.css.map": { append: "\u000A" }
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      materialjs: {
 | 
					 | 
				
			||||||
        files: {
 | 
					 | 
				
			||||||
          "dist/js/material.min.js": { append: "\u000A" },
 | 
					 | 
				
			||||||
          "dist/js/material.min.js.map": { append: "\u000A" }
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      ripplesjs: {
 | 
					 | 
				
			||||||
        files: {
 | 
					 | 
				
			||||||
          "dist/js/ripples.min.js": { append: "\u000A" },
 | 
					 | 
				
			||||||
          "dist/js/ripples.min.js.map": { append: "\u000A" }
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    connect: {
 | 
					 | 
				
			||||||
      options: {
 | 
					 | 
				
			||||||
        port: 8040,
 | 
					 | 
				
			||||||
        hostname: "localhost",
 | 
					 | 
				
			||||||
        livereload: 35729
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      livereload: {
 | 
					 | 
				
			||||||
        options: {
 | 
					 | 
				
			||||||
          open: true,
 | 
					 | 
				
			||||||
          base: "."
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      test: {
 | 
					 | 
				
			||||||
        options: {
 | 
					 | 
				
			||||||
          port: 8041,
 | 
					 | 
				
			||||||
          open: "http://localhost:8041/_SpecRunner.html",
 | 
					 | 
				
			||||||
          base: "."
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    jasmine: {
 | 
					    jasmine: {
 | 
				
			||||||
      scripts: "scripts/**/*.js",
 | 
					      scripts: "scripts/**/*.js",
 | 
				
			||||||
      options: {
 | 
					      options: {
 | 
				
			||||||
| 
						 | 
					@ -204,7 +142,6 @@ module.exports = function(grunt) {
 | 
				
			||||||
        ]
 | 
					        ]
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					 | 
				
			||||||
    jshint: {
 | 
					    jshint: {
 | 
				
			||||||
      options: {
 | 
					      options: {
 | 
				
			||||||
        jshintrc: ".jshintrc",
 | 
					        jshintrc: ".jshintrc",
 | 
				
			||||||
| 
						 | 
					@ -223,7 +160,6 @@ module.exports = function(grunt) {
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					 | 
				
			||||||
    watch: {
 | 
					    watch: {
 | 
				
			||||||
      js: {
 | 
					      js: {
 | 
				
			||||||
        files: ["Gruntfile.js", "scripts/**/*.js", "template/**/*.js"],
 | 
					        files: ["Gruntfile.js", "scripts/**/*.js", "template/**/*.js"],
 | 
				
			||||||
| 
						 | 
					@ -262,9 +198,7 @@ module.exports = function(grunt) {
 | 
				
			||||||
    "csswring:material",
 | 
					    "csswring:material",
 | 
				
			||||||
    "csswring:materialwfont",
 | 
					    "csswring:materialwfont",
 | 
				
			||||||
    "autoprefixer:material",
 | 
					    "autoprefixer:material",
 | 
				
			||||||
    "autoprefixer:materialwfont",
 | 
					    "autoprefixer:materialwfont"
 | 
				
			||||||
    "file_append:materialcss",
 | 
					 | 
				
			||||||
    "file_append:materialwfontcss"
 | 
					 | 
				
			||||||
  ]);
 | 
					  ]);
 | 
				
			||||||
  grunt.registerTask("material:js", [
 | 
					  grunt.registerTask("material:js", [
 | 
				
			||||||
    "copy:material",
 | 
					    "copy:material",
 | 
				
			||||||
| 
						 | 
					@ -273,19 +207,16 @@ module.exports = function(grunt) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  grunt.registerTask("ripples", [
 | 
					  grunt.registerTask("ripples", [
 | 
				
			||||||
    "ripples:less",
 | 
					    "ripples:less",
 | 
				
			||||||
    "ripples:js",
 | 
					    "ripples:js"
 | 
				
			||||||
    "file_append:ripplescss"
 | 
					 | 
				
			||||||
  ]);
 | 
					  ]);
 | 
				
			||||||
  grunt.registerTask("ripples:less", [
 | 
					  grunt.registerTask("ripples:less", [
 | 
				
			||||||
    "less:ripples",
 | 
					    "less:ripples",
 | 
				
			||||||
    "csswring:ripples",
 | 
					    "csswring:ripples",
 | 
				
			||||||
    "autoprefixer:ripples",
 | 
					    "autoprefixer:ripples"
 | 
				
			||||||
    "file_append:materialjs"
 | 
					 | 
				
			||||||
  ]);
 | 
					  ]);
 | 
				
			||||||
  grunt.registerTask("ripples:js", [
 | 
					  grunt.registerTask("ripples:js", [
 | 
				
			||||||
    "copy:ripples",
 | 
					    "copy:ripples",
 | 
				
			||||||
    "uglify:ripples",
 | 
					    "uglify:ripples"
 | 
				
			||||||
    "file_append:ripplesjs"
 | 
					 | 
				
			||||||
  ]);
 | 
					  ]);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  grunt.registerTask("build", function(target) {
 | 
					  grunt.registerTask("build", function(target) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -29,7 +29,6 @@
 | 
				
			||||||
    "grunt-contrib-uglify": "^0.6.0",
 | 
					    "grunt-contrib-uglify": "^0.6.0",
 | 
				
			||||||
    "grunt-contrib-watch": "^0.6.1",
 | 
					    "grunt-contrib-watch": "^0.6.1",
 | 
				
			||||||
    "grunt-csswring": "^1.1.0",
 | 
					    "grunt-csswring": "^1.1.0",
 | 
				
			||||||
    "grunt-file-append": "0.0.5",
 | 
					 | 
				
			||||||
    "grunt-newer": "^0.7.0",
 | 
					    "grunt-newer": "^0.7.0",
 | 
				
			||||||
    "jshint-stylish": "^1.0.0",
 | 
					    "jshint-stylish": "^1.0.0",
 | 
				
			||||||
    "load-grunt-tasks": "^0.6.0"
 | 
					    "load-grunt-tasks": "^0.6.0"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user