extensions api wip - 1 canvas test fails because of setting setText trans via old api
[fnpeditor.git] / src / smartxml / transformations.js
index 53dc384..8cf0819 100644 (file)
@@ -95,10 +95,11 @@ toret.createContextTransformation = function(desc) {
 
 
 
-toret.TransformationStorage = function() {};
+toret.TransformationStorage = function() {
+    this._transformations = {};
+};
 
 _.extend(toret.TransformationStorage.prototype, {
-    _transformations: {},
     
     register: function(Transformation) {
         var list = (this._transformations[Transformation.prototype.name] = this._transformations[Transformation.prototype.name] || []);