Skip to content

Commit

Permalink
updated version to v5.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jackocnr committed Feb 21, 2015
1 parent 944d4f1 commit d781472
Show file tree
Hide file tree
Showing 9 changed files with 47 additions and 49 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "intl-tel-input",
"version": "5.2.0",
"version": "5.3.0",
"main": [
"./build/js/intlTelInput.min.js",
"./lib/libphonenumber/build/utils.js",
Expand Down
2 changes: 1 addition & 1 deletion build/js/intlTelInput.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
International Telephone Input v5.2.0
International Telephone Input v5.3.0
https://github.com/Bluefieldscom/intl-tel-input.git
*/
// wrap in UMD - see https://github.com/umdjs/umd/blob/master/jqueryPlugin.js
Expand Down
2 changes: 1 addition & 1 deletion build/js/intlTelInput.min.js

Large diffs are not rendered by default.

12 changes: 8 additions & 4 deletions grunt/retinafy.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
module.exports = function (grunt) {
module.exports = function(grunt) {
return {
options: {
sizes: {
'50%': { suffix: '' },
'100%': { suffix: '@2x' }
'50%': {
suffix: ''
},
'100%': {
suffix: '@2x'
}
}
},
files: {
Expand All @@ -13,4 +17,4 @@ module.exports = function (grunt) {
dest: 'build/img'
}
};
};
};
16 changes: 7 additions & 9 deletions grunt/svg2png.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
module.exports = function (grunt) {
module.exports = function(grunt) {
return {
main: {
files: [
{
cwd: 'src/img/',
src: ['*.svg'],
dest: 'src/img/'
}
]
files: [{
cwd: 'src/img/',
src: ['*.svg'],
dest: 'src/img/'
}]
}
};
};
};
46 changes: 23 additions & 23 deletions grunt/svg_sprite.js
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
module.exports = function(grunt) {
return {
main : {
expand : true,
cwd : 'bower_components/flag-icon-css/flags/4x3',
src : ['*.svg'],
dest : './src/img',
options : {
shape : {
dimension : { // Set maximum dimensions
maxWidth : 36,
maxHeight : 27
main: {
expand: true,
cwd: 'bower_components/flag-icon-css/flags/4x3',
src: ['*.svg'],
dest: './src/img',
options: {
shape: {
dimension: { // Set maximum dimensions
maxWidth: 36,
maxHeight: 27
},
spacing : { // Add padding
padding : 0
spacing: { // Add padding
padding: 0
},
},
mode : {
view : { // Activate the «view» mode
dest : ".",
prefix : ".%s", // Prefix for CSS selectors
dimensions : false, // Suffix for dimension CSS selectors
bust : false,
render : {
scss : {
mode: {
view: { // Activate the «view» mode
dest: ".",
prefix: ".%s", // Prefix for CSS selectors
dimensions: false, // Suffix for dimension CSS selectors
bust: false,
render: {
scss: {
template: "grunt/tmpl/sprite-mustache.scss",
dest : "../../src/css/sprite.scss"
dest: "../../src/css/sprite.scss"
}
},
sprite : "flags.svg"
sprite: "flags.svg"
}
}
}
}
};
};
};
2 changes: 1 addition & 1 deletion intl-tel-input.jquery.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "intl-tel-input",
"version": "5.2.0",
"version": "5.3.0",
"description": "A jQuery plugin for entering international telephone numbers",
"keywords": [
"international",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "intl-tel-input",
"version": "5.2.0",
"version": "5.3.0",
"description": "A jQuery plugin for entering international telephone numbers",
"keywords": [
"international",
Expand Down
12 changes: 4 additions & 8 deletions src/css/flags.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,10 @@
height: 13px;
outline: 1px solid #dfdfdf;
background-image: url("../img/flags.png");
}

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and ( min--moz-device-pixel-ratio: 2),
only screen and ( -o-min-device-pixel-ratio: 2/1),
only screen and ( min-device-pixel-ratio: 2),
only screen and ( min-resolution: 192dpi),
only screen and ( min-resolution: 2dppx) {
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
.iti-flag {
background-image: url("../img/[email protected]");
}
}
}

0 comments on commit d781472

Please sign in to comment.