aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/image2.reel/image2.js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-02 18:04:37 -0800
committerJose Antonio Marquez2012-02-02 18:04:37 -0800
commit7959d2ecc6e8b1799307de1ceab1112b8ab58e8d (patch)
treece4e32578e1af4d49b8375933a6b7edd0a095b0f /node_modules/montage/ui/image2.reel/image2.js
parent83ac41dd75ec551cdb03252e0bf3081182517d05 (diff)
parentc630ead20487c3948fa36448d3e7d5f7b5cba782 (diff)
downloadninja-7959d2ecc6e8b1799307de1ceab1112b8ab58e8d.tar.gz
Merge branch 'refs/heads/NinjaInternal' into Color
Conflicts: js/controllers/elements/shapes-controller.js js/data/pi/pi-data.js js/panels/properties/content.reel/content.js
Diffstat (limited to 'node_modules/montage/ui/image2.reel/image2.js')
-rw-r--r--node_modules/montage/ui/image2.reel/image2.js26
1 files changed, 0 insertions, 26 deletions
diff --git a/node_modules/montage/ui/image2.reel/image2.js b/node_modules/montage/ui/image2.reel/image2.js
deleted file mode 100644
index 750b837a..00000000
--- a/node_modules/montage/ui/image2.reel/image2.js
+++ /dev/null
@@ -1,26 +0,0 @@
1/* <copyright>
2This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
4(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5</copyright> */
6
7var Montage = require("montage").Montage,
8 Component = require("ui/component").Component;
9
10var Image2 = exports.Image2 = Montage.create(Component, {
11
12 _src: {value: null},
13
14 src: {
15 set: function(value) {
16 this._src = value;
17 this.needsDraw = true;
18 }
19 },
20
21 draw: {
22 value: function() {
23 this._element.style.background = "url(" + this._src + ")";
24 }
25 }
26}); \ No newline at end of file