From 3de6dff9642a21f9338ccbc40220d499de81d566 Mon Sep 17 00:00:00 2001 From: Kevin Ross Date: Thu, 19 Nov 2015 08:54:33 -0600 Subject: [PATCH] - remove deprecated version from bower.json https://github.com/bower/spec/blob/master/json.md - bumped package.json - changed cibuild target to build --- Gruntfile.js | 4 ++-- bower.json | 1 - dist/js/material.js | 23 ----------------------- dist/js/material.min.js.map | 2 +- package.json | 2 +- 5 files changed, 4 insertions(+), 28 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index e371d517..654a3deb 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -490,6 +490,6 @@ module.exports = function (grunt) { grunt.registerTask("meteor-publish", ["exec:meteor-init", "exec:meteor-publish", "exec:meteor-cleanup"]); grunt.registerTask("meteor", ["exec:meteor-init", "exec:meteor-test", "exec:meteor-publish", "exec:meteor-cleanup"]); - grunt.registerTask("cibuild", ["newer:jshint", "meteor-test"]); - + //grunt.registerTask("cibuild", ["newer:jshint", "meteor-test"]); + grunt.registerTask("cibuild", ["build"]); }; diff --git a/bower.json b/bower.json index 09abec4f..88096f29 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,5 @@ { "name": "bootstrap-material-design", - "version": "0.3.1-dev", "homepage": "http://fezvrasta.github.io/bootstrap-material-design", "authors": [ "Federico Zivolo " diff --git a/dist/js/material.js b/dist/js/material.js index 7355bcb1..509d3d39 100644 --- a/dist/js/material.js +++ b/dist/js/material.js @@ -85,12 +85,6 @@ $input.removeAttr("data-hint"); } - // Always add a help block for uniform vertical spacing using visibility:hidden/visible. - //var $helpBlock = $formGroup.find(".help-block"); - //if($helpBlock.length === 0) { - // $input.after("

 

"); - //} - // Legacy - Change input-sm/lg to form-group-sm/lg instead (preferred standard and simpler css/less variants) var legacySizes = { "input-lg": "form-group-lg", @@ -115,21 +109,6 @@ $formGroup.addClass("label-floating"); $input.after(""); } - //else { - // // If it has a label, based on the way the css is written with the adjacent sibling selector `~`, - // // we need the label to be *after* the input for it to work properly. (we use these infrequently now that - // // .is-focused and .is-empty is standardized on the .form-group. - // // @see: http://stackoverflow.com/questions/1817792/is-there-a-previous-sibling-selector - // // Attach it to the same parent, regardless (not necessarily after input) which could cause problems, - // // but this is up to the user. - // var $label = $formGroup.find("label.control-label"); - // if($label.length > 0){ - // var $labelParent = $label.parent(); // likely the form-group, but may not be in the case of input-groups - // $label.detach(); - // $labelParent.append($label); - // //$input.after($label); - // } - //} // Set as empty if is empty (damn I must improve this...) if ($input.val() === null || $input.val() == "undefined" || $input.val() === "") { @@ -142,8 +121,6 @@ // Support for file input if ($formGroup.find("input[type=file]").length > 0) { $formGroup.addClass("is-fileinput"); - //var $nextInput = $formGroup.next().detach(); - //$input.after($nextInput); } }); }, diff --git a/dist/js/material.min.js.map b/dist/js/material.min.js.map index fd83e493..237cfdff 100644 --- a/dist/js/material.min.js.map +++ b/dist/js/material.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["material.js"],"names":["$","_isChar","evt","which","ctrlKey","metaKey","altKey","expr","notmdproc","obj","data","material","options","input","ripples","checkbox","togglebutton","radio","arrive","autofill","withRipples","join","inputElements","checkboxElements","togglebuttonElements","radioElements","selector","this","filter","after","each","$input","$formGroup","closest","length","wrap","attr","removeAttr","legacySizes","input-lg","input-sm","legacySize","standardSize","hasClass","removeClass","addClass","placeholder","id","forAttribute","val","append","find","attachInputEventHandlers","document","on","blur","e","isValid","checkValidity","value","files","i","file","name","substring","loading","setInterval","$this","trigger","setTimeout","clearInterval","attachAutofillEventHandlers","focused","$inputs","parents","not","init","$document","fn","jQuery"],"mappings":"CAEA,SAAUA,GAUR,QAASC,GAAQC,GACf,MAAwB,mBAAbA,GAAIC,OACN,EACsB,gBAAbD,GAAIC,OAAqBD,EAAIC,MAAQ,GAC7CD,EAAIE,UAAYF,EAAIG,UAAYH,EAAII,QAAuB,GAAbJ,EAAIC,OAA2B,GAAbD,EAAIC,OAEvE,EAdTH,EAAEO,KAAK,KAAKC,UAAY,SAASC,GAC/B,MAAIT,GAA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a,KAAKf,QAAQE,SAC/B+D,EAAU3D,OAAOS,KAAKf,QAAQQ,YAAa,WACzCpB,EAAEW,SAASG,QAAQd,EAAE2B,SAGrBA,KAAKf,QAAQC,OACfgE,EAAU3D,OAAOS,KAAKf,QAAQU,cAAe,WAC3CtB,EAAEW,SAASE,MAAMb,EAAE2B,SAGnBA,KAAKf,QAAQG,UACf8D,EAAU3D,OAAOS,KAAKf,QAAQW,iBAAkB,WAC9CvB,EAAEW,SAASI,SAASf,EAAE2B,SAGtBA,KAAKf,QAAQK,OACf4D,EAAU3D,OAAOS,KAAKf,QAAQa,cAAe,WAC3CzB,EAAEW,SAASM,MAAMjB,EAAE2B,SAGnBA,KAAKf,QAAQI,cACf6D,EAAU3D,OAAOS,KAAKf,QAAQY,qBAAsB,WAClDxB,EAAEW,SAASK,aAAahB,EAAE2B,aAQnCoD","file":"material.min.js"} \ No newline at end of file +{"version":3,"sources":["material.js"],"names":["$","_isChar","evt","which","ctrlKey","metaKey","altKey","expr","notmdproc","obj","data","material","options","input","ripples","checkbox","togglebutton","radio","arrive","autofill","withRipples","join","inputElements","checkboxElements","togglebuttonElements","radioElements","selector","this","filter","after","each","$input","$formGroup","closest","length","wrap","attr","removeAttr","legacySizes","input-lg","input-sm","legacySize","standardSize","hasClass","removeClass","addClass","placeholder","id","forAttribute","val","append","find","attachInputEventHandlers","document","on","blur","e","isValid","checkValidity","value","files","i","file","name","substring","loading","setInterval","$this","trigger","setTimeout","clearInterval","attachAutofillEventHandlers","focused","$inputs","parents","not","init","$document","fn","jQuery"],"mappings":"CAEA,SAAUA,GAUR,QAASC,GAAQC,GACf,MAAwB,mBAAbA,GAAIC,OACN,EACsB,gBAAbD,GAAIC,OAAqBD,EAAIC,MAAQ,GAC7CD,EAAIE,UAAYF,EAAIG,UAAYH,EAAII,QAAuB,GAAbJ,EAAIC,OAA2B,GAAbD,EAAIC,OAEvE,EAdTH,EAAEO,KAAK,KAAKC,UAAY,SAASC,GAC/B,MAAIT,GAAES,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AAKf,QAAQE,SAC/B+D,EAAU3D,OAAOS,KAAKf,QAAQQ,YAAa,WACzCpB,EAAEW,SAASG,QAAQd,EAAE2B,SAGrBA,KAAKf,QAAQC,OACfgE,EAAU3D,OAAOS,KAAKf,QAAQU,cAAe,WAC3CtB,EAAEW,SAASE,MAAMb,EAAE2B,SAGnBA,KAAKf,QAAQG,UACf8D,EAAU3D,OAAOS,KAAKf,QAAQW,iBAAkB,WAC9CvB,EAAEW,SAASI,SAASf,EAAE2B,SAGtBA,KAAKf,QAAQK,OACf4D,EAAU3D,OAAOS,KAAKf,QAAQa,cAAe,WAC3CzB,EAAEW,SAASM,MAAMjB,EAAE2B,SAGnBA,KAAKf,QAAQI,cACf6D,EAAU3D,OAAOS,KAAKf,QAAQY,qBAAsB,WAClDxB,EAAEW,SAASK,aAAahB,EAAE2B,aAQnCoD","file":"material.min.js"} \ No newline at end of file diff --git a/package.json b/package.json index 5787ab35..f575cea6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bootstrap-material-design", - "version": "0.3.1-dev", + "version": "0.4.0", "description": "Material Design for Bootstrap 3", "main": "scripts/index.js", "scripts": {