Skip to content

Commit

Permalink
Merge pull request #6 from mset/master
Browse files Browse the repository at this point in the history
Update to NotificationNode.js and main.js to avoid using synchronous xhr
  • Loading branch information
stratease committed Aug 14, 2015
2 parents f6dd694 + f24f8d7 commit ceec9ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions NotificationNode.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
define([ "dojo/text", "dojo/_base/declare", "dijit/_WidgetBase", "dijit/_TemplatedMixin", "dojo/dom-construct", "dGrowl/NotificationNode", "dojo/dom-class", "dojo/_base/event", "dojo/_base/lang"],
function(t, declare, base, templated, domCon, NotificationNode, domClass, event, lang)
define([ "dojo/text", "dojo/_base/declare", "dijit/_WidgetBase", "dijit/_TemplatedMixin", "dojo/dom-construct", "dGrowl/NotificationNode", "dojo/dom-class", "dojo/_base/event", "dojo/_base/lang", "dojo/text!./NotificationNode.html"],
function(t, declare, base, templated, domCon, NotificationNode, domClass, event, lang, templateString)
{
return declare('dGrowl',
[base, templated],
{
'templateString':dojo.cache('dGrowl', 'NotificationNode.html'),
'templateString':templateString,
'title':'',
'message':'',
'duration':5000,
Expand Down
6 changes: 3 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
define([ "dojo/text", "dojo/_base/declare", "dijit/_WidgetBase", "dijit/_TemplatedMixin", "dojo/topic", "dojo/dom-construct", "dGrowl/NotificationNode", "dojo/query", "dojo/_base/lang", "dojo/dom-class"],
function(t, declare, base, templated, topic, domCon, NotificationNode, query, lang, domClass)
define([ "dojo/text", "dojo/_base/declare", "dijit/_WidgetBase", "dijit/_TemplatedMixin", "dojo/topic", "dojo/dom-construct", "dGrowl/NotificationNode", "dojo/query", "dojo/_base/lang", "dojo/dom-class", "dojo/text!./main.html"],
function(t, declare, base, templated, topic, domCon, NotificationNode, query, lang, domClass, templateString)
{
return declare('dGrowl',
[base, templated],
{
'templateString':dojo.cache('dGrowl', 'main.html'),
'templateString':templateString,
'channels':[{name:'default', pos:0}], // channel user definitions
'orientation':'topRight',
'defaultChannel':null,
Expand Down

0 comments on commit ceec9ff

Please sign in to comment.