[Bps-public-commit] r9621 - CSS-Squish/lib/CSS

ruz at bestpractical.com ruz at bestpractical.com
Fri Nov 9 04:50:19 EST 2007


Author: ruz
Date: Fri Nov  9 04:49:04 2007
New Revision: 9621

Modified:
   CSS-Squish/lib/CSS/Squish.pm

Log:
* return back _resolve_file to maintain a little bit of
  backwards compatibility

Modified: CSS-Squish/lib/CSS/Squish.pm
==============================================================================
--- CSS-Squish/lib/CSS/Squish.pm	(original)
+++ CSS-Squish/lib/CSS/Squish.pm	Fri Nov  9 04:49:04 2007
@@ -357,6 +357,22 @@
     return undef;
 }
 
+=head2 _resolve_file( $file, @roots )
+
+DEPRECATED. This private method is deprecated and do nothing useful except
+maintaining backwards compatibility. If you were using it then most probably
+to find files in roots before submitting them into concatenate method. Now,
+it's not required and this method returns back file path without changes.
+
+=cut
+
+sub _resolve_file {
+    my ($self, $file, @roots) = @_;
+    require Carp;
+    Carp::carp("You called ->_resolve_file($file, ...). The method is deprecated!");
+    return $file;
+}
+
 =head2 resolve_uri( $uri_string, $base_file )
 
 Takes an URI and base file path and transforms it into new



More information about the Bps-public-commit mailing list