aboutsummaryrefslogtreecommitdiffstats
path: root/src/css/var/getStyles.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/css/var/getStyles.js')
-rw-r--r--src/css/var/getStyles.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/css/var/getStyles.js b/src/css/var/getStyles.js
new file mode 100644
index 000000000..bcbd22017
--- /dev/null
+++ b/src/css/var/getStyles.js
@@ -0,0 +1,5 @@
+define(function() {
+ return function( elem ) {
+ return elem.ownerDocument.defaultView.getComputedStyle( elem, null );
+ };
+}); \ No newline at end of file