From efe8f144e9506ce1c611445a1c8e4291ce3d1af7 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Tue, 22 May 2012 15:02:38 -0700 Subject: CSS Style Rule - Extract and append class name from selector on first change --- .../css-panel/rule-components/css-style-rule.reel/css-style-rule.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'js/panels/css-panel/rule-components/css-style-rule.reel') diff --git a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js index cfe3c24d..e0ffb1a8 100644 --- a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js +++ b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js @@ -8,6 +8,9 @@ var Montage = require("montage/core/core").Montage, Component = require("montage/ui/component").Component; exports.CssStyleRule = Montage.create(Component, { + addClassNameOnChange : { + value: null + }, unappliedClass : { value: 'unapplied-css-rule' }, -- cgit v1.2.3