postcss-helpers
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -6,3 +6,3 @@ 'use strict'; | ||
var regexp = require( './regexp' ); | ||
var URI = require( 'URIjs' ); | ||
var URI = require( 'urijs' ); | ||
var UrlHelper = require( './url' ); | ||
@@ -9,0 +9,0 @@ |
@@ -5,3 +5,3 @@ 'use strict'; | ||
// http://blog.lunatech.com/2009/02/03/what-every-web-developer-must-know-about-url-encoding | ||
var URI = require( 'URIjs' ); | ||
var URI = require( 'urijs' ); | ||
var regexp = require( './regexp' ); | ||
@@ -71,3 +71,3 @@ | ||
// TODO Remove VERY ugly ?#iefix exeption handling, URIjs normalizing it and removing "?" | ||
// TODO Remove VERY ugly ?#iefix exeption handling, urijs normalizing it and removing "?" | ||
if ( originalHasIEFix && modifiedShouldHaveIEFix ) { | ||
@@ -74,0 +74,0 @@ modifiedURI = modifiedURI.replace( '#iefix', '?#iefix' ); |
{ | ||
"name": "postcss-helpers", | ||
"description": "Some general purpose helpers for PostCSS, created to make working with url() and @import values more easy.", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"main": "index.js", | ||
@@ -15,3 +15,3 @@ "repository": { | ||
"engines": { | ||
"node": ">=0.10.0" | ||
"node": ">=0.12.9" | ||
}, | ||
@@ -18,0 +18,0 @@ "scripts": { |
@@ -38,3 +38,3 @@ ## postcss-helpers [](https://travis-ci.org/iAdramelk/postcss-helpers) | ||
Array of one or more [URIjs](http://medialize.github.io/URI.js/) objects that can be used for URI manipulations. If there is no url() in the rule returns false. | ||
Array of one or more [urijs](http://medialize.github.io/URI.js/) objects that can be used for URI manipulations. If there is no url() in the rule returns false. | ||
@@ -62,3 +62,3 @@ For example you can use UrlsHelper.URIS[0].href() to get value for the first url() and UrlsHelper.URIS[0].href('new_uri') to set new URI value. See [full documentation](http://medialize.github.io/URI.js/docs.html). | ||
[URIjs](http://medialize.github.io/URI.js/) objects that can be used for URI manipulations. If there is no url() in the rule returns false. | ||
[urijs](http://medialize.github.io/URI.js/) objects that can be used for URI manipulations. If there is no url() in the rule returns false. | ||
@@ -65,0 +65,0 @@ For example you can use ImportHelper.URI.href() to get import value and ImportHelper.URI.href('new_uri') to set new URI value. See [full documentation](http://medialize.github.io/URI.js/docs.html). |
@@ -37,3 +37,3 @@ /*global describe, it */ | ||
}, | ||
// Really UGLY fix for ?#iefix case, URIjs normalized it's value | ||
// Really UGLY fix for ?#iefix case, urijs normalized it's value | ||
{ | ||
@@ -40,0 +40,0 @@ originalURI: 'font.eot?#iefix', |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
24435