lib/assets/javascripts/spin.js
Function initVML
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function initVML() {
/* Utility function to create a VML tag */
function vml(tag, attr) {
return createEl('<' + tag + ' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">', attr)
Function lines
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Spinner.prototype.lines = function(el, o) {
var r = o.length+o.width
, s = 2*r
function grp() {
Function spin
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
spin: function(target) {
this.stop()
var self = this
, o = self.opts
Function lines
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
lines: function(el, o) {
var i = 0
, start = (o.lines - 1) * (1 - o.direction) / 2
, seg