From 1354d17270961fff662d40f90521223f8fd0d73b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 14 Aug 2012 18:59:10 +0400 Subject: update dojo to 1.7.3 --- lib/dijit/Declaration.js | 108 +---------------------------------------------- 1 file changed, 2 insertions(+), 106 deletions(-) (limited to 'lib/dijit/Declaration.js') diff --git a/lib/dijit/Declaration.js b/lib/dijit/Declaration.js index 1cfa8ecad..833489d99 100644 --- a/lib/dijit/Declaration.js +++ b/lib/dijit/Declaration.js @@ -1,106 +1,2 @@ -/* - Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved. - Available via Academic Free License >= 2.1 OR the modified BSD license. - see: http://dojotoolkit.org/license for details -*/ - - -if(!dojo._hasResource["dijit.Declaration"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.Declaration"] = true; -dojo.provide("dijit.Declaration"); -dojo.require("dijit._Widget"); -dojo.require("dijit._Templated"); - - -dojo.declare( - "dijit.Declaration", - dijit._Widget, - { - // summary: - // The Declaration widget allows a developer to declare new widget - // classes directly from a snippet of markup. - - // _noScript: [private] Boolean - // Flag to parser to leave alone the script tags contained inside of me - _noScript: true, - - // stopParser: [private] Boolean - // Flag to parser to not try and parse widgets declared inside of me - stopParser: true, - - // widgetClass: [const] String - // Name of class being declared, ex: "acme.myWidget" - widgetClass: "", - - // propList: [const] Object - // Set of attributes for this widget along with default values, ex: - // {delay: 100, title: "hello world"} - defaults: null, - - // mixins: [const] String[] - // List containing the prototype for this widget, and also any mixins, - // ex: ["dijit._Widget", "dijit._Container"] - mixins: [], - - buildRendering: function(){ - var src = this.srcNodeRef.parentNode.removeChild(this.srcNodeRef), - methods = dojo.query("> script[type^='dojo/method']", src).orphan(), - connects = dojo.query("> script[type^='dojo/connect']", src).orphan(), - srcType = src.nodeName; - - var propList = this.defaults || {}; - - // For all methods defined like