Created
March 4, 2015 18:09
-
-
Save alisamii/04e47abaeb3dee1cf209 to your computer and use it in GitHub Desktop.
Gruntfile.js error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "current_lang": { | |
| "code": "en" | |
| }, | |
| "langs": [ | |
| { | |
| "code": "ar", | |
| "title": "العربية" | |
| }, | |
| { | |
| "code": "cn", | |
| "title": "简体中文" | |
| }, | |
| { | |
| "code": "cs", | |
| "title": "Czech" | |
| }, | |
| { | |
| "code": "tw", | |
| "title": "简体中文" | |
| }, | |
| { | |
| "code": "en", | |
| "title": "English" | |
| }, | |
| { | |
| "code": "fr", | |
| "title": "Français" | |
| }, | |
| { | |
| "code": "de", | |
| "title": "Deutsch" | |
| }, | |
| { | |
| "code": "it", | |
| "title": "Italiano" | |
| }, | |
| { | |
| "code": "ru", | |
| "title": "Русский" | |
| }, | |
| { | |
| "code": "es", | |
| "title": "Español" | |
| } | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "countries": [ | |
| { | |
| "code": "AF", | |
| "title": "Afghanistan" | |
| }, | |
| { | |
| "code": "AL", | |
| "title": "Albania" | |
| }, | |
| { | |
| "code": "DZ", | |
| "title": "Algeria" | |
| }, | |
| { | |
| "code": "AS", | |
| "title": "American Samoa" | |
| }, | |
| { | |
| "code": "AD", | |
| "title": "Andorra" | |
| }, | |
| { | |
| "code": "AO", | |
| "title": "Angola" | |
| }, | |
| { | |
| "code": "AI", | |
| "title": "Anguilla" | |
| }, | |
| { | |
| "code": "AQ", | |
| "title": "Antarctica" | |
| }, | |
| { | |
| "code": "AG", | |
| "title": "Antigua and Barbuda" | |
| }, | |
| { | |
| "code": "AR", | |
| "title": "Argentina" | |
| }, | |
| { | |
| "code": "AM", | |
| "title": "Armenia" | |
| }, | |
| { | |
| "code": "AW", | |
| "title": "Aruba" | |
| }, | |
| { | |
| "code": "AU", | |
| "title": "Australia" | |
| }, | |
| { | |
| "code": "AT", | |
| "title": "Austria" | |
| }, | |
| { | |
| "code": "AZ", | |
| "title": "Azerbaijan" | |
| }, | |
| { | |
| "code": "BS", | |
| "title": "Bahamas" | |
| }, | |
| { | |
| "code": "BH", | |
| "title": "Bahrain" | |
| }, | |
| { | |
| "code": "BD", | |
| "title": "Bangladesh" | |
| }, | |
| { | |
| "code": "BB", | |
| "title": "Barbados" | |
| }, | |
| { | |
| "code": "BY", | |
| "title": "Belarus" | |
| }, | |
| { | |
| "code": "BE", | |
| "title": "Belgium" | |
| }, | |
| { | |
| "code": "BZ", | |
| "title": "Belize" | |
| }, | |
| { | |
| "code": "BJ", | |
| "title": "Benin" | |
| }, | |
| { | |
| "code": "BM", | |
| "title": "Bermuda" | |
| }, | |
| { | |
| "code": "BT", | |
| "title": "Bhutan" | |
| }, | |
| { | |
| "code": "BO", | |
| "title": "Bolivia" | |
| }, | |
| { | |
| "code": "BA", | |
| "title": "Bosnia and Herzegovina" | |
| }, | |
| { | |
| "code": "BW", | |
| "title": "Botswana" | |
| }, | |
| { | |
| "code": "BV", | |
| "title": "Bouvet Island" | |
| }, | |
| { | |
| "code": "BR", | |
| "title": "Brazil" | |
| }, | |
| { | |
| "code": "BQ", | |
| "title": "British Antarctic Territory" | |
| }, | |
| { | |
| "code": "IO", | |
| "title": "British Indian Ocean Territory" | |
| }, | |
| { | |
| "code": "VG", | |
| "title": "British Virgin Islands" | |
| }, | |
| { | |
| "code": "BN", | |
| "title": "Brunei" | |
| }, | |
| { | |
| "code": "BG", | |
| "title": "Bulgaria" | |
| }, | |
| { | |
| "code": "BF", | |
| "title": "Burkina Faso" | |
| }, | |
| { | |
| "code": "BI", | |
| "title": "Burundi" | |
| }, | |
| { | |
| "code": "KH", | |
| "title": "Cambodia" | |
| }, | |
| { | |
| "code": "CM", | |
| "title": "Cameroon" | |
| }, | |
| { | |
| "code": "CA", | |
| "title": "Canada" | |
| }, | |
| { | |
| "code": "CT", | |
| "title": "Canton and Enderbury Islands" | |
| }, | |
| { | |
| "code": "CV", | |
| "title": "Cape Verde" | |
| }, | |
| { | |
| "code": "KY", | |
| "title": "Cayman Islands" | |
| }, | |
| { | |
| "code": "CF", | |
| "title": "Central African Republic" | |
| }, | |
| { | |
| "code": "TD", | |
| "title": "Chad" | |
| }, | |
| { | |
| "code": "CL", | |
| "title": "Chile" | |
| }, | |
| { | |
| "code": "CN", | |
| "title": "China" | |
| }, | |
| { | |
| "code": "CX", | |
| "title": "Christmas Island" | |
| }, | |
| { | |
| "code": "CC", | |
| "title": "Cocos [Keeling] Islands" | |
| }, | |
| { | |
| "code": "CO", | |
| "title": "Colombia" | |
| }, | |
| { | |
| "code": "KM", | |
| "title": "Comoros" | |
| }, | |
| { | |
| "code": "CG", | |
| "title": "Congo - Brazzaville" | |
| }, | |
| { | |
| "code": "CD", | |
| "title": "Congo - Kinshasa" | |
| }, | |
| { | |
| "code": "CK", | |
| "title": "Cook Islands" | |
| }, | |
| { | |
| "code": "CR", | |
| "title": "Costa Rica" | |
| }, | |
| { | |
| "code": "HR", | |
| "title": "Croatia" | |
| }, | |
| { | |
| "code": "CU", | |
| "title": "Cuba" | |
| }, | |
| { | |
| "code": "CY", | |
| "title": "Cyprus" | |
| }, | |
| { | |
| "code": "CZ", | |
| "title": "Czech Republic" | |
| }, | |
| { | |
| "code": "CI", | |
| "title": "Côte d’Ivoire" | |
| }, | |
| { | |
| "code": "DK", | |
| "title": "Denmark" | |
| }, | |
| { | |
| "code": "DJ", | |
| "title": "Djibouti" | |
| }, | |
| { | |
| "code": "DM", | |
| "title": "Dominica" | |
| }, | |
| { | |
| "code": "DO", | |
| "title": "Dominican Republic" | |
| }, | |
| { | |
| "code": "NQ", | |
| "title": "Dronning Maud Land" | |
| }, | |
| { | |
| "code": "DD", | |
| "title": "East Germany" | |
| }, | |
| { | |
| "code": "EC", | |
| "title": "Ecuador" | |
| }, | |
| { | |
| "code": "EG", | |
| "title": "Egypt" | |
| }, | |
| { | |
| "code": "SV", | |
| "title": "El Salvador" | |
| }, | |
| { | |
| "code": "GQ", | |
| "title": "Equatorial Guinea" | |
| }, | |
| { | |
| "code": "ER", | |
| "title": "Eritrea" | |
| }, | |
| { | |
| "code": "EE", | |
| "title": "Estonia" | |
| }, | |
| { | |
| "code": "ET", | |
| "title": "Ethiopia" | |
| }, | |
| { | |
| "code": "FK", | |
| "title": "Falkland Islands" | |
| }, | |
| { | |
| "code": "FO", | |
| "title": "Faroe Islands" | |
| }, | |
| { | |
| "code": "FJ", | |
| "title": "Fiji" | |
| }, | |
| { | |
| "code": "FI", | |
| "title": "Finland" | |
| }, | |
| { | |
| "code": "FR", | |
| "title": "France" | |
| }, | |
| { | |
| "code": "GF", | |
| "title": "French Guiana" | |
| }, | |
| { | |
| "code": "PF", | |
| "title": "French Polynesia" | |
| }, | |
| { | |
| "code": "TF", | |
| "title": "French Southern Territories" | |
| }, | |
| { | |
| "code": "FQ", | |
| "title": "French Southern and Antarctic Territories" | |
| }, | |
| { | |
| "code": "GA", | |
| "title": "Gabon" | |
| }, | |
| { | |
| "code": "GM", | |
| "title": "Gambia" | |
| }, | |
| { | |
| "code": "GE", | |
| "title": "Georgia" | |
| }, | |
| { | |
| "code": "DE", | |
| "title": "Germany" | |
| }, | |
| { | |
| "code": "GH", | |
| "title": "Ghana" | |
| }, | |
| { | |
| "code": "GI", | |
| "title": "Gibraltar" | |
| }, | |
| { | |
| "code": "GR", | |
| "title": "Greece" | |
| }, | |
| { | |
| "code": "GL", | |
| "title": "Greenland" | |
| }, | |
| { | |
| "code": "GD", | |
| "title": "Grenada" | |
| }, | |
| { | |
| "code": "GP", | |
| "title": "Guadeloupe" | |
| }, | |
| { | |
| "code": "GU", | |
| "title": "Guam" | |
| }, | |
| { | |
| "code": "GT", | |
| "title": "Guatemala" | |
| }, | |
| { | |
| "code": "GG", | |
| "title": "Guernsey" | |
| }, | |
| { | |
| "code": "GN", | |
| "title": "Guinea" | |
| }, | |
| { | |
| "code": "GW", | |
| "title": "Guinea-Bissau" | |
| }, | |
| { | |
| "code": "GY", | |
| "title": "Guyana" | |
| }, | |
| { | |
| "code": "HT", | |
| "title": "Haiti" | |
| }, | |
| { | |
| "code": "HM", | |
| "title": "Heard Island and McDonald Islands" | |
| }, | |
| { | |
| "code": "HN", | |
| "title": "Honduras" | |
| }, | |
| { | |
| "code": "HK", | |
| "title": "Hong Kong SAR China" | |
| }, | |
| { | |
| "code": "HU", | |
| "title": "Hungary" | |
| }, | |
| { | |
| "code": "IS", | |
| "title": "Iceland" | |
| }, | |
| { | |
| "code": "IN", | |
| "title": "India" | |
| }, | |
| { | |
| "code": "ID", | |
| "title": "Indonesia" | |
| }, | |
| { | |
| "code": "IR", | |
| "title": "Iran" | |
| }, | |
| { | |
| "code": "IQ", | |
| "title": "Iraq" | |
| }, | |
| { | |
| "code": "IE", | |
| "title": "Ireland" | |
| }, | |
| { | |
| "code": "IM", | |
| "title": "Isle of Man" | |
| }, | |
| { | |
| "code": "IL", | |
| "title": "Israel" | |
| }, | |
| { | |
| "code": "IT", | |
| "title": "Italy" | |
| }, | |
| { | |
| "code": "JM", | |
| "title": "Jamaica" | |
| }, | |
| { | |
| "code": "JP", | |
| "title": "Japan" | |
| }, | |
| { | |
| "code": "JE", | |
| "title": "Jersey" | |
| }, | |
| { | |
| "code": "JT", | |
| "title": "Johnston Island" | |
| }, | |
| { | |
| "code": "JO", | |
| "title": "Jordan" | |
| }, | |
| { | |
| "code": "KZ", | |
| "title": "Kazakhstan" | |
| }, | |
| { | |
| "code": "KE", | |
| "title": "Kenya" | |
| }, | |
| { | |
| "code": "KI", | |
| "title": "Kiribati" | |
| }, | |
| { | |
| "code": "KW", | |
| "title": "Kuwait" | |
| }, | |
| { | |
| "code": "KG", | |
| "title": "Kyrgyzstan" | |
| }, | |
| { | |
| "code": "LA", | |
| "title": "Laos" | |
| }, | |
| { | |
| "code": "LV", | |
| "title": "Latvia" | |
| }, | |
| { | |
| "code": "LB", | |
| "title": "Lebanon" | |
| }, | |
| { | |
| "code": "LS", | |
| "title": "Lesotho" | |
| }, | |
| { | |
| "code": "LR", | |
| "title": "Liberia" | |
| }, | |
| { | |
| "code": "LY", | |
| "title": "Libya" | |
| }, | |
| { | |
| "code": "LI", | |
| "title": "Liechtenstein" | |
| }, | |
| { | |
| "code": "LT", | |
| "title": "Lithuania" | |
| }, | |
| { | |
| "code": "LU", | |
| "title": "Luxembourg" | |
| }, | |
| { | |
| "code": "MO", | |
| "title": "Macau SAR China" | |
| }, | |
| { | |
| "code": "MK", | |
| "title": "Macedonia" | |
| }, | |
| { | |
| "code": "MG", | |
| "title": "Madagascar" | |
| }, | |
| { | |
| "code": "MW", | |
| "title": "Malawi" | |
| }, | |
| { | |
| "code": "MY", | |
| "title": "Malaysia" | |
| }, | |
| { | |
| "code": "MV", | |
| "title": "Maldives" | |
| }, | |
| { | |
| "code": "ML", | |
| "title": "Mali" | |
| }, | |
| { | |
| "code": "MT", | |
| "title": "Malta" | |
| }, | |
| { | |
| "code": "MH", | |
| "title": "Marshall Islands" | |
| }, | |
| { | |
| "code": "MQ", | |
| "title": "Martinique" | |
| }, | |
| { | |
| "code": "MR", | |
| "title": "Mauritania" | |
| }, | |
| { | |
| "code": "MU", | |
| "title": "Mauritius" | |
| }, | |
| { | |
| "code": "YT", | |
| "title": "Mayotte" | |
| }, | |
| { | |
| "code": "FX", | |
| "title": "Metropolitan France" | |
| }, | |
| { | |
| "code": "MX", | |
| "title": "Mexico" | |
| }, | |
| { | |
| "code": "FM", | |
| "title": "Micronesia" | |
| }, | |
| { | |
| "code": "MI", | |
| "title": "Midway Islands" | |
| }, | |
| { | |
| "code": "MD", | |
| "title": "Moldova" | |
| }, | |
| { | |
| "code": "MC", | |
| "title": "Monaco" | |
| }, | |
| { | |
| "code": "MN", | |
| "title": "Mongolia" | |
| }, | |
| { | |
| "code": "ME", | |
| "title": "Montenegro" | |
| }, | |
| { | |
| "code": "MS", | |
| "title": "Montserrat" | |
| }, | |
| { | |
| "code": "MA", | |
| "title": "Morocco" | |
| }, | |
| { | |
| "code": "MZ", | |
| "title": "Mozambique" | |
| }, | |
| { | |
| "code": "MM", | |
| "title": "Myanmar [Burma]" | |
| }, | |
| { | |
| "code": "NA", | |
| "title": "Namibia" | |
| }, | |
| { | |
| "code": "NR", | |
| "title": "Nauru" | |
| }, | |
| { | |
| "code": "NP", | |
| "title": "Nepal" | |
| }, | |
| { | |
| "code": "NL", | |
| "title": "Netherlands" | |
| }, | |
| { | |
| "code": "AN", | |
| "title": "Netherlands Antilles" | |
| }, | |
| { | |
| "code": "NT", | |
| "title": "Neutral Zone" | |
| }, | |
| { | |
| "code": "NC", | |
| "title": "New Caledonia" | |
| }, | |
| { | |
| "code": "NZ", | |
| "title": "New Zealand" | |
| }, | |
| { | |
| "code": "NI", | |
| "title": "Nicaragua" | |
| }, | |
| { | |
| "code": "NE", | |
| "title": "Niger" | |
| }, | |
| { | |
| "code": "NG", | |
| "title": "Nigeria" | |
| }, | |
| { | |
| "code": "NU", | |
| "title": "Niue" | |
| }, | |
| { | |
| "code": "NF", | |
| "title": "Norfolk Island" | |
| }, | |
| { | |
| "code": "KP", | |
| "title": "North Korea" | |
| }, | |
| { | |
| "code": "VD", | |
| "title": "North Vietnam" | |
| }, | |
| { | |
| "code": "MP", | |
| "title": "Northern Mariana Islands" | |
| }, | |
| { | |
| "code": "NO", | |
| "title": "Norway" | |
| }, | |
| { | |
| "code": "OM", | |
| "title": "Oman" | |
| }, | |
| { | |
| "code": "PC", | |
| "title": "Pacific Islands Trust Territory" | |
| }, | |
| { | |
| "code": "PK", | |
| "title": "Pakistan" | |
| }, | |
| { | |
| "code": "PW", | |
| "title": "Palau" | |
| }, | |
| { | |
| "code": "PS", | |
| "title": "Palestinian Territories" | |
| }, | |
| { | |
| "code": "PA", | |
| "title": "Panama" | |
| }, | |
| { | |
| "code": "PZ", | |
| "title": "Panama Canal Zone" | |
| }, | |
| { | |
| "code": "PG", | |
| "title": "Papua New Guinea" | |
| }, | |
| { | |
| "code": "PY", | |
| "title": "Paraguay" | |
| }, | |
| { | |
| "code": "YD", | |
| "title": "People's Democratic Republic of Yemen" | |
| }, | |
| { | |
| "code": "PE", | |
| "title": "Peru" | |
| }, | |
| { | |
| "code": "PH", | |
| "title": "Philippines" | |
| }, | |
| { | |
| "code": "PN", | |
| "title": "Pitcairn Islands" | |
| }, | |
| { | |
| "code": "PL", | |
| "title": "Poland" | |
| }, | |
| { | |
| "code": "PT", | |
| "title": "Portugal" | |
| }, | |
| { | |
| "code": "PR", | |
| "title": "Puerto Rico" | |
| }, | |
| { | |
| "code": "QA", | |
| "title": "Qatar" | |
| }, | |
| { | |
| "code": "RO", | |
| "title": "Romania" | |
| }, | |
| { | |
| "code": "RU", | |
| "title": "Russia" | |
| }, | |
| { | |
| "code": "RW", | |
| "title": "Rwanda" | |
| }, | |
| { | |
| "code": "RE", | |
| "title": "Réunion" | |
| }, | |
| { | |
| "code": "BL", | |
| "title": "Saint Barthélemy" | |
| }, | |
| { | |
| "code": "SH", | |
| "title": "Saint Helena" | |
| }, | |
| { | |
| "code": "KN", | |
| "title": "Saint Kitts and Nevis" | |
| }, | |
| { | |
| "code": "LC", | |
| "title": "Saint Lucia" | |
| }, | |
| { | |
| "code": "MF", | |
| "title": "Saint Martin" | |
| }, | |
| { | |
| "code": "PM", | |
| "title": "Saint Pierre and Miquelon" | |
| }, | |
| { | |
| "code": "VC", | |
| "title": "Saint Vincent and the Grenadines" | |
| }, | |
| { | |
| "code": "WS", | |
| "title": "Samoa" | |
| }, | |
| { | |
| "code": "SM", | |
| "title": "San Marino" | |
| }, | |
| { | |
| "code": "SA", | |
| "title": "Saudi Arabia" | |
| }, | |
| { | |
| "code": "SN", | |
| "title": "Senegal" | |
| }, | |
| { | |
| "code": "RS", | |
| "title": "Serbia" | |
| }, | |
| { | |
| "code": "CS", | |
| "title": "Serbia and Montenegro" | |
| }, | |
| { | |
| "code": "SC", | |
| "title": "Seychelles" | |
| }, | |
| { | |
| "code": "SL", | |
| "title": "Sierra Leone" | |
| }, | |
| { | |
| "code": "SG", | |
| "title": "Singapore" | |
| }, | |
| { | |
| "code": "SK", | |
| "title": "Slovakia" | |
| }, | |
| { | |
| "code": "SI", | |
| "title": "Slovenia" | |
| }, | |
| { | |
| "code": "SB", | |
| "title": "Solomon Islands" | |
| }, | |
| { | |
| "code": "SO", | |
| "title": "Somalia" | |
| }, | |
| { | |
| "code": "ZA", | |
| "title": "South Africa" | |
| }, | |
| { | |
| "code": "GS", | |
| "title": "South Georgia and the South Sandwich Islands" | |
| }, | |
| { | |
| "code": "KR", | |
| "title": "South Korea" | |
| }, | |
| { | |
| "code": "ES", | |
| "title": "Spain" | |
| }, | |
| { | |
| "code": "LK", | |
| "title": "Sri Lanka" | |
| }, | |
| { | |
| "code": "SD", | |
| "title": "Sudan" | |
| }, | |
| { | |
| "code": "SR", | |
| "title": "Suriname" | |
| }, | |
| { | |
| "code": "SJ", | |
| "title": "Svalbard and Jan Mayen" | |
| }, | |
| { | |
| "code": "SZ", | |
| "title": "Swaziland" | |
| }, | |
| { | |
| "code": "SE", | |
| "title": "Sweden" | |
| }, | |
| { | |
| "code": "CH", | |
| "title": "Switzerland" | |
| }, | |
| { | |
| "code": "SY", | |
| "title": "Syria" | |
| }, | |
| { | |
| "code": "ST", | |
| "title": "São Tomé and Príncipe" | |
| }, | |
| { | |
| "code": "TW", | |
| "title": "Taiwan" | |
| }, | |
| { | |
| "code": "TJ", | |
| "title": "Tajikistan" | |
| }, | |
| { | |
| "code": "TZ", | |
| "title": "Tanzania" | |
| }, | |
| { | |
| "code": "TH", | |
| "title": "Thailand" | |
| }, | |
| { | |
| "code": "TL", | |
| "title": "Timor-Leste" | |
| }, | |
| { | |
| "code": "TG", | |
| "title": "Togo" | |
| }, | |
| { | |
| "code": "TK", | |
| "title": "Tokelau" | |
| }, | |
| { | |
| "code": "TO", | |
| "title": "Tonga" | |
| }, | |
| { | |
| "code": "TT", | |
| "title": "Trinidad and Tobago" | |
| }, | |
| { | |
| "code": "TN", | |
| "title": "Tunisia" | |
| }, | |
| { | |
| "code": "TR", | |
| "title": "Turkey" | |
| }, | |
| { | |
| "code": "TM", | |
| "title": "Turkmenistan" | |
| }, | |
| { | |
| "code": "TC", | |
| "title": "Turks and Caicos Islands" | |
| }, | |
| { | |
| "code": "TV", | |
| "title": "Tuvalu" | |
| }, | |
| { | |
| "code": "UM", | |
| "title": "U.S. Minor Outlying Islands" | |
| }, | |
| { | |
| "code": "PU", | |
| "title": "U.S. Miscellaneous Pacific Islands" | |
| }, | |
| { | |
| "code": "VI", | |
| "title": "U.S. Virgin Islands" | |
| }, | |
| { | |
| "code": "UG", | |
| "title": "Uganda" | |
| }, | |
| { | |
| "code": "UA", | |
| "title": "Ukraine" | |
| }, | |
| { | |
| "code": "SU", | |
| "title": "Union of Soviet Socialist Republics" | |
| }, | |
| { | |
| "code": "AE", | |
| "title": "United Arab Emirates" | |
| }, | |
| { | |
| "code": "GB", | |
| "title": "United Kingdom" | |
| }, | |
| { | |
| "code": "US", | |
| "title": "United States" | |
| }, | |
| { | |
| "code": "ZZ", | |
| "title": "Unknown or Invalid Region" | |
| }, | |
| { | |
| "code": "UY", | |
| "title": "Uruguay" | |
| }, | |
| { | |
| "code": "UZ", | |
| "title": "Uzbekistan" | |
| }, | |
| { | |
| "code": "VU", | |
| "title": "Vanuatu" | |
| }, | |
| { | |
| "code": "VA", | |
| "title": "Vatican City" | |
| }, | |
| { | |
| "code": "VE", | |
| "title": "Venezuela" | |
| }, | |
| { | |
| "code": "VN", | |
| "title": "Vietnam" | |
| }, | |
| { | |
| "code": "WK", | |
| "title": "Wake Island" | |
| }, | |
| { | |
| "code": "WF", | |
| "title": "Wallis and Futuna" | |
| }, | |
| { | |
| "code": "EH", | |
| "title": "Western Sahara" | |
| }, | |
| { | |
| "code": "YE", | |
| "title": "Yemen" | |
| }, | |
| { | |
| "code": "ZM", | |
| "title": "Zambia" | |
| }, | |
| { | |
| "code": "ZW", | |
| "title": "Zimbabwe" | |
| }, | |
| { | |
| "code": "AX", | |
| "title": "Åland Islands" | |
| } | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use strict"; | |
| module.exports = function(grunt) { | |
| var config = grunt.file.readJSON('json/config.json'); | |
| var datas = grunt.file.readJSON('json/langs/' + config.current_lang.code + '.json'); | |
| var countries = grunt.file.readJSON('json/countries/' + config.current_lang.code + '.json'); | |
| grunt.initConfig({ | |
| pkg: grunt.file.readJSON('package.json'), | |
| sass: { | |
| options: { | |
| style: 'compressed', | |
| sourceMap: false | |
| }, | |
| dist: { | |
| files: { | |
| 'tmp/style/css/main.min.css': 'style/sass/main.scss', | |
| '../../build/Form/style/css/main.min.css': 'style/sass/main.scss' | |
| } | |
| } | |
| }, | |
| stencil: { | |
| main: { | |
| options: { | |
| env: { | |
| config:config, | |
| datas:datas, | |
| countries:countries | |
| }, | |
| dot_template_settings: { | |
| strip: false //minifying html | |
| } | |
| }, | |
| files: [ | |
| { | |
| src: 'index.dot.html', | |
| dest: '../../build/Form/', | |
| ext: '.' + config.current_lang.code + '.html', | |
| expand: true, | |
| flatten: true | |
| } | |
| ] | |
| } | |
| }, | |
| watch: { | |
| css: { | |
| files: ['*', 'sass/**.scss', 'partials/**.html', 'json/**.json'], | |
| tasks: ['sass', 'stencil'], | |
| options: { | |
| livereload: true, | |
| }, | |
| } | |
| }, | |
| }); | |
| grunt.loadNpmTasks('grunt-contrib-sass'); | |
| grunt.loadNpmTasks('grunt-stencil'); | |
| grunt.loadNpmTasks('grunt-contrib-watch'); | |
| grunt.registerTask('default', ['sass','watch']); | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html class="no-js"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
| <title> | |
| {{~it.config.langs :lang:index}} | |
| {{? it.config.current_lang.code === lang.code}} | |
| {{=lang.title}} | |
| {{?}} | |
| {{~}} | |
| </title> | |
| <link rel="icon" href="/favicon.ico"> | |
| <meta name="robots" content="noindex, nofollow"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui"> | |
| <link rel="stylesheet" href="style/css/main.min.css"> | |
| <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script> | |
| <!--[if lt IE 9]><script src="js/html5.js"></script><![endif]--> | |
| </head> | |
| <body class="{{=it.config.current_lang.code}}" dir="{{? it.config.current_lang.code === 'ar'}}rtl{{?}}"> | |
| <div class="page"> | |
| {{=it.include("partials/header")}} | |
| {{=it.include("partials/form")}} | |
| {{=it.include("partials/error-blocks")}} | |
| </div> | |
| <script type="text/javascript" src="js/jquery-1.11.0.min.js"></script> | |
| <script type="text/javascript" src="js/functions.js"></script> | |
| <script type="text/javascript" src="js/jquery-placeholder.2.0.7.min.js"></script> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "title": "SWISSQUOTE", | |
| "lang": "English", | |
| "header": { | |
| "title": "FREE SUBSCRIPTION" | |
| }, | |
| "error": { | |
| "default": "Required field", | |
| "select": "Select a value", | |
| "email": "The format of your email address is incorrect", | |
| "prefix": "Only numbers and “+” allowed", | |
| "number": "Only numbers allowed", | |
| "phone": "Only numbers and “space + ( ) - _ /” allowed", | |
| "url": "Incorrect website format - example: www.swissquote.com", | |
| "checkboxAll": "Please tick each box" | |
| }, | |
| "form": { | |
| "defaults": { | |
| "on": "on", | |
| "off": "off", | |
| "true": "true", | |
| "false": "false" | |
| }, | |
| "firstName": { | |
| "data-cf-check": "true", | |
| "id": "firstName", | |
| "label": "First Name", | |
| "name": "", | |
| "placeholder": "", | |
| "subtitle": "", | |
| "value": "" | |
| }, | |
| "lastName": { | |
| "data-cf-check": "true", | |
| "id": "lastName", | |
| "label": "Last Name", | |
| "name": "", | |
| "placeholder": "", | |
| "subtitle": "", | |
| "value": "" | |
| }, | |
| "email": { | |
| "data-cf-check": "email", | |
| "id": "email", | |
| "label": "Email", | |
| "name": "", | |
| "placeholder": "", | |
| "subtitle": "", | |
| "value": "" | |
| }, | |
| "mobile": { | |
| "data-cf-check": "phone", | |
| "id": "mobile-phone", | |
| "label": "Mobile Phone", | |
| "name": "", | |
| "placeholder": "", | |
| "subtitle": "", | |
| "value": "" | |
| }, | |
| "pwd": { | |
| "data-cf-check": "password", | |
| "id": "password", | |
| "label": "Create Password", | |
| "name": "", | |
| "placeholder": "", | |
| "subtitle": "", | |
| "value": "" | |
| }, | |
| "pwdConf": { | |
| "data-cf-check": "password", | |
| "id": "password-confirmation", | |
| "label": "Password Confirmation", | |
| "name": "", | |
| "placeholder": "", | |
| "subtitle": "", | |
| "value": "" | |
| }, | |
| "country": { | |
| "data-cf-check": "select", | |
| "id": "country", | |
| "label": "Country", | |
| "name": "", | |
| "placeholder": "", | |
| "subtitle": "", | |
| "value": "" | |
| }, | |
| "lang": { | |
| "data-cf-check": "select", | |
| "id": "lang", | |
| "label": "Language", | |
| "name": "", | |
| "placeholder": "", | |
| "subtitle": "", | |
| "value": "" | |
| }, | |
| "submit": { | |
| "data-cf-check": "", | |
| "id": "SQORE", | |
| "label": "ACCESS SWISSQUOTE", | |
| "name": "", | |
| "placeholder": "", | |
| "subtitle": "SQORE", | |
| "value": "" | |
| } | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Start Form --> | |
| <form> | |
| <fieldset> | |
| <!-- First Name --> | |
| <div class="field"> | |
| <label class="label-txt" for="firstName">{{=it.datas.form.firstName.label}}</label> | |
| <input id="{{=it.datas.form.firstName.id}}" | |
| type="text" | |
| placeholder="{{=it.datas.form.firstName.placeholder}}" | |
| value="{{=it.datas.form.firstName.value}}" | |
| name="{{=it.datas.form.firstName.name}}" | |
| data-cf-check="{{=it.datas.form.defaults.true}}" | |
| spellcheck="{{=it.datas.form.defaults.false}}" | |
| autocorrect="{{=it.datas.form.defaults.off}}" | |
| autocomplete="{{=it.datas.form.defaults.off}}"> | |
| </div> | |
| <div class="clearer"></div> | |
| <!-- Last Name --> | |
| <div class="field"> | |
| <label class="label-txt" for="lastName">{{=it.datas.form.lastName.label}}</label> | |
| <input id="{{=it.datas.form.lastName.id}}" | |
| type="text" | |
| placeholder="{{=it.datas.form.lastName.placeholder}}" | |
| value="{{=it.datas.form.lastName.value}}" | |
| name="{{=it.datas.form.lastName.name}}" | |
| data-cf-check="{{=it.datas.form.defaults.true}}" | |
| spellcheck="{{=it.datas.form.defaults.false}}" | |
| autocorrect="{{=it.datas.form.defaults.off}}" | |
| autocomplete="{{=it.datas.form.defaults.off}}"> | |
| </div> | |
| <div class="clearer"></div> | |
| <!-- Email --> | |
| <div class="field"> | |
| <label class="label-txt" for="email">{{=it.datas.form.email.label}}</label> | |
| <input id="{{=it.datas.form.email.id}}" | |
| type="email" | |
| placeholder="{{=it.datas.form.email.placeholder}}" | |
| name="{{=it.datas.form.email.name}}" | |
| value="{{=it.datas.form.email.value}}" | |
| data-cf-check="{{=it.datas.form.email.data-cf-check}}" | |
| spellcheck="{{=it.datas.form.defaults.false}}" | |
| autocorrect="{{=it.datas.form.defaults.off}}" | |
| autocomplete="{{=it.datas.form.defaults.off}}"> | |
| <br><span class="subtitle">{{=it.datas.form.email.subtitle}}</span> | |
| </div> | |
| <!-- Mobile --> | |
| <div class="field"> | |
| <label class="label-txt" for="mobile-phone">{{=it.datas.form.mobile.label}}</label> | |
| <input id="{{=it.datas.form.mobile.id}}" | |
| type="text" | |
| placeholder="{{=it.datas.form.mobile.placeholder}}" | |
| name="{{=it.datas.form.mobile.name}}" | |
| value="{{=it.datas.form.mobile.value}}" | |
| data-cf-check="{{=it.datas.form.mobile.data-cf-check}}"> | |
| </div> | |
| <!-- Password --> | |
| <div class="field"> | |
| <label class="label-txt" for="password">{{=it.datas.form.pwd.label}}</label> | |
| <input id="{{=it.datas.form.pwd.id}}" | |
| type="password" | |
| placeholder="{{=it.datas.form.pwd.placeholder}}" | |
| name="{{=it.datas.form.pwd.name}}" | |
| value="{{=it.datas.form.pwd.value}}" | |
| data-cf-check="{{=it.datas.form.pwd.data-cf-check}}"> | |
| </div> | |
| <!-- Password Confirm --> | |
| <div class="field"> | |
| <label class="label-txt" for="password-confirmation">{{=it.datas.form.pwdConf.label}}</label> | |
| <input id="{{=it.datas.form.pwdConf.id}}" | |
| type="password" | |
| placeholder="{{=it.datas.form.pwdConf.placeholder}}" | |
| name="{{=it.datas.form.pwdConf.name}}" | |
| value="{{=it.datas.form.pwdConf.value}}" | |
| data-cf-check="{{=it.datas.form.pwdConf.data-cf-check}}"> | |
| </div> | |
| <div class="clearer"></div> | |
| <!-- Country --> | |
| <div class="field country"> | |
| <label class="label-txt" for="country">{{=it.datas.form.country.label}}</label> | |
| <select id="{{=it.datas.form.country.id}}" | |
| data-cf-check="{{=it.datas.form.country.data-cf-check}}"> | |
| <option value="" disabled selected>{{=it.datas.form.country.label}}</option> | |
| {{~it.config.countries :countries:index}} | |
| <option value="{{=countries.code}}">{{=countries.title}}</option> | |
| {{~}} | |
| </select> | |
| </div> | |
| <!-- Language --> | |
| <div class="field lang"> | |
| <label class="label-txt" for="lang">{{=it.datas.form.lang.label}}</label> | |
| <select id="{{=it.datas.form.lang.id}}" | |
| data-cf-check="{{=it.datas.form.lang.data-cf-check}}"> | |
| <option value="" disabled selected>{{=it.datas.form.lang.label}}</option> | |
| {{~it.config.langs :lang:index}} | |
| <option value="{{=lang.code}}">{{=lang.title}}</option> | |
| {{~}} | |
| </select> | |
| </div> | |
| <div class="clearer"></div> | |
| <!-- Submit --> | |
| <div class="submit-button" id="{{=it.datas.form.submit.id}}"> | |
| <p>{{=it.datas.form.submit.label}} <span class="bold">{{=it.datas.form.submit.subtitle}}</span></p> | |
| <div class="submit-button-right-arrow"></div> | |
| </div> | |
| <div class="clearer"></div> | |
| </fieldset> | |
| </form> | |
| <!-- End Form --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment