Permalink
Browse files

Bulk of changes for v1.5

New feature: Mixins
New feature: Fragments
New feature: Block nesting
New feature: Rule inheritance / abstract rules
Abstracted IO interface
Added some error reporting
Added spiffing.css plugin
csscrush_tag method now uses media type 'all' by default
Updated Aliases.ini / initial-values.ini
Internal refactoring
Resolved issue #23
Resolved issue #24
Resolved issue #27
Resolved issue #28
Resolved issue #29
  • Loading branch information...
1 parent 396f9fd commit 1045306770b280612c2eb50e47cc56c4d7e5e47d @peteboere committed May 8, 2012
View
@@ -137,6 +137,9 @@
tab-size[] = -moz-tab-size
tab-size[] = -o-tab-size
+ ; Text align last
+ text-align-last[] = -moz-text-align-last
+
; Text decoration
text-decoration-color[] = -moz-text-decoration-color
text-decoration-line[] = -moz-text-decoration-line
@@ -1,6 +1,20 @@
-1.4.3
------
-
+1.5
+---
+New feature: Mixins
+New feature: Fragments
+New feature: Block nesting
+New feature: Rule inheritance / abstract rules
+Abstracted IO interface
+Added some error reporting
+Added spiffing.css plugin
+csscrush_tag method now uses media type 'all' by default
+Updated Aliases.ini / initial-values.ini
+Internal refactoring
+Resolved issue #23
+Resolved issue #24
+Resolved issue #27
+Resolved issue #28
+Resolved issue #29
1.4.2
View
@@ -4,38 +4,28 @@
* CSS Crush
* Extensible CSS preprocessor
*
- * @version 1.4.3
+ * @version 1.5
+ * @link https://github.com/peteboere/css-crush
* @license http://www.opensource.org/licenses/mit-license.php (MIT)
* @copyright Copyright 2010-2012 Pete Boere
- *
- *
- * <?php
- *
- * // Basic usage
- * require_once 'CssCrush.php';
- * $global_css = CssCrush::file( '/css/global.css' );
- *
- * ?>
- *
- * <link rel="stylesheet" href="<?php echo $global_css; ?>" />
*
*/
require_once 'lib/Util.php';
require_once 'lib/IO.php';
require_once 'lib/Core.php';
-CssCrush::init( dirname( __FILE__ ) );
-
require_once 'lib/Rule.php';
-
+require_once 'lib/Mixin.php';
require_once 'lib/Function.php';
-CssCrush_Function::init();
-
require_once 'lib/Importer.php';
-require_once 'lib/Iterator.php';
require_once 'lib/Color.php';
+require_once 'lib/Regex.php';
require_once 'lib/Hook.php';
+csscrush::init( dirname( __FILE__ ) );
+
+
+
View
@@ -0,0 +1,7 @@
+Copyright (c) 2010-2012 Pete Boere
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
@@ -16,11 +16,11 @@ Quick start
<?php
require_once 'CssCrush/CssCrush.php';
- $global_css = CssCrush::file( '/css/global.css' );
+ $global_css = csscrush_file( '/css/global.css' );
?>
- <link rel="stylesheet" type="text/css" href="<?php echo $global_css; ?>" />
+ <link rel="stylesheet" type="text/css" href="<?php echo $global_css; ?>" media="all" />
Submitting bugs
Oops, something went wrong.

0 comments on commit 1045306

Please sign in to comment.