mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-02-07 07:10:37 +03:00
reverted jshint rules, cleaned up source where it was failing. updating build process errors. TODO: fix livereload
This commit is contained in:
parent
82aae6fbf0
commit
720479cb1e
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"bitwise": true,
|
"bitwise": true,
|
||||||
|
"camelcase": true,
|
||||||
"curly": true,
|
"curly": true,
|
||||||
"eqeqeq": false,
|
"eqeqeq": false,
|
||||||
"es3": false,
|
"es3": false,
|
||||||
|
@ -14,6 +15,7 @@
|
||||||
"nonbsp": true,
|
"nonbsp": true,
|
||||||
"nonew": true,
|
"nonew": true,
|
||||||
"plusplus": false,
|
"plusplus": false,
|
||||||
|
"quotmark": "double",
|
||||||
"undef": true,
|
"undef": true,
|
||||||
"unused": true,
|
"unused": true,
|
||||||
"strict": false,
|
"strict": false,
|
||||||
|
|
13
Gruntfile.js
13
Gruntfile.js
|
@ -67,8 +67,7 @@ module.exports = function(grunt) {
|
||||||
options: {
|
options: {
|
||||||
port: 8040,
|
port: 8040,
|
||||||
hostname: "localhost",
|
hostname: "localhost",
|
||||||
livereload: 35740,
|
livereload: 35741
|
||||||
keepalive: true
|
|
||||||
|
|
||||||
},
|
},
|
||||||
livereload: {
|
livereload: {
|
||||||
|
@ -126,6 +125,14 @@ module.exports = function(grunt) {
|
||||||
files: ["test/**/*.js"],
|
files: ["test/**/*.js"],
|
||||||
tasks: ["newer:jshint:test", "jasmine"]
|
tasks: ["newer:jshint:test", "jasmine"]
|
||||||
},
|
},
|
||||||
|
less: {
|
||||||
|
files:["less/**/*.less"],
|
||||||
|
tasks: ["default"]
|
||||||
|
},
|
||||||
|
sass: {
|
||||||
|
files: ["sass/**/*.scss", "sass/**/*.sass"],
|
||||||
|
tasks: ["scss"]
|
||||||
|
},
|
||||||
livereload: {
|
livereload: {
|
||||||
options: {
|
options: {
|
||||||
livereload: "<%= connect.options.livereload %>"
|
livereload: "<%= connect.options.livereload %>"
|
||||||
|
@ -155,7 +162,7 @@ module.exports = function(grunt) {
|
||||||
|
|
||||||
grunt.registerTask("test", [
|
grunt.registerTask("test", [
|
||||||
"jasmine:scripts:build",
|
"jasmine:scripts:build",
|
||||||
"connect:test"
|
"connect:test:keepalive"
|
||||||
]);
|
]);
|
||||||
|
|
||||||
grunt.registerTask("serve", function(target){
|
grunt.registerTask("serve", function(target){
|
||||||
|
|
43
_SpecRunner.html
Normal file
43
_SpecRunner.html
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Jasmine Spec Runner</title>
|
||||||
|
<link rel="shortcut icon" type="image/png" href=".grunt/grunt-contrib-jasmine/jasmine_favicon.png">
|
||||||
|
|
||||||
|
<link rel="stylesheet" type="text/css" href=".grunt/grunt-contrib-jasmine/jasmine.css">
|
||||||
|
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
|
||||||
|
<script src=".grunt/grunt-contrib-jasmine/es5-shim.js"></script>
|
||||||
|
|
||||||
|
<script src=".grunt/grunt-contrib-jasmine/jasmine.js"></script>
|
||||||
|
|
||||||
|
<script src=".grunt/grunt-contrib-jasmine/jasmine-html.js"></script>
|
||||||
|
|
||||||
|
<script src=".grunt/grunt-contrib-jasmine/json2.js"></script>
|
||||||
|
|
||||||
|
<script src=".grunt/grunt-contrib-jasmine/boot.js"></script>
|
||||||
|
|
||||||
|
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
|
||||||
|
|
||||||
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
|
||||||
|
|
||||||
|
<script src="test/*Helper.js"></script>
|
||||||
|
|
||||||
|
<script src="scripts/material.js"></script>
|
||||||
|
|
||||||
|
<script src="scripts/ripples.js"></script>
|
||||||
|
|
||||||
|
<script src="test/materialSpec.js"></script>
|
||||||
|
|
||||||
|
<script src="test/ripplesSpec.js"></script>
|
||||||
|
|
||||||
|
<script src=".grunt/grunt-contrib-jasmine/reporter.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -2365,6 +2365,9 @@ fieldset[disabled] .navbar .btn-link:focus {
|
||||||
.dropdown-menu li a:hover {
|
.dropdown-menu li a:hover {
|
||||||
background: rgba(0, 0, 0, 0.08);
|
background: rgba(0, 0, 0, 0.08);
|
||||||
}
|
}
|
||||||
|
div {
|
||||||
|
background-color: black;
|
||||||
|
}
|
||||||
.alert {
|
.alert {
|
||||||
border: 0px;
|
border: 0px;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
|
2
css-compiled/material-wfont.min.css
vendored
2
css-compiled/material-wfont.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -2364,6 +2364,9 @@ fieldset[disabled] .navbar .btn-link:focus {
|
||||||
.dropdown-menu li a:hover {
|
.dropdown-menu li a:hover {
|
||||||
background: rgba(0, 0, 0, 0.08);
|
background: rgba(0, 0, 0, 0.08);
|
||||||
}
|
}
|
||||||
|
div {
|
||||||
|
background-color: black;
|
||||||
|
}
|
||||||
.alert {
|
.alert {
|
||||||
border: 0px;
|
border: 0px;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
|
2
css-compiled/material.min.css
vendored
2
css-compiled/material.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,7 @@
|
||||||
// main: material.less
|
// main: material.less
|
||||||
|
div {
|
||||||
|
background-color: black;
|
||||||
|
}
|
||||||
.alert {
|
.alert {
|
||||||
border: 0px;
|
border: 0px;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
|
|
@ -6,11 +6,11 @@ window.ripples = {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
// Cross browser matches function
|
// Cross browser matches function
|
||||||
function matchesSelector(dom_element, selector) {
|
function matchesSelector(domElement, selector) {
|
||||||
var matches = dom_element.matches || dom_element.matchesSelector || dom_element.webkitMatchesSelector ||
|
var matches = domElement.matches || domElement.matchesSelector || domElement.webkitMatchesSelector ||
|
||||||
dom_element.mozMatchesSelector ||
|
domElement.mozMatchesSelector ||
|
||||||
dom_element.msMatchesSelector || dom_element.oMatchesSelector;
|
domElement.msMatchesSelector || domElement.oMatchesSelector;
|
||||||
return matches.call(dom_element, selector);
|
return matches.call(domElement, selector);
|
||||||
}
|
}
|
||||||
|
|
||||||
// animations time
|
// animations time
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -6,11 +6,11 @@ window.ripples = {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
// Cross browser matches function
|
// Cross browser matches function
|
||||||
function matchesSelector(dom_element, selector) {
|
function matchesSelector(domElement, selector) {
|
||||||
var matches = dom_element.matches || dom_element.matchesSelector || dom_element.webkitMatchesSelector ||
|
var matches = domElement.matches || domElement.matchesSelector || domElement.webkitMatchesSelector ||
|
||||||
dom_element.mozMatchesSelector ||
|
domElement.mozMatchesSelector ||
|
||||||
dom_element.msMatchesSelector || dom_element.oMatchesSelector;
|
domElement.msMatchesSelector || domElement.oMatchesSelector;
|
||||||
return matches.call(dom_element, selector);
|
return matches.call(domElement, selector);
|
||||||
}
|
}
|
||||||
|
|
||||||
// animations time
|
// animations time
|
||||||
|
|
Loading…
Reference in New Issue
Block a user