Skip to content

Commit

Permalink
Remove warnings
Browse files Browse the repository at this point in the history
(reference #56)
  • Loading branch information
piotrzarzycki21 committed Jun 21, 2024
1 parent b42118c commit e5e8d77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package Super.Human.Portal_Royale.tasks

override public function run(data:Object=null):void
{
var categoriesTask:PromiseTask = new PromiseTask(new Promise(function(resolve:Function, reject:Function){
var categoriesTask:PromiseTask = new PromiseTask(new Promise(function categoriesDelegate(resolve:Function, reject:Function):void {
var categoryDelegate:CategoriesDelegate = new CategoriesDelegate();
categoryDelegate.getCategoriesList(function(event:Event):void{
resolve(event);
Expand All @@ -31,7 +31,7 @@ package Super.Human.Portal_Royale.tasks

if (Constants.AGENT_BASE_URL)
{
var documentationTask:PromiseTask = new PromiseTask(new Promise(function(resolve:Function, reject:Function){
var documentationTask:PromiseTask = new PromiseTask(new Promise(function documentationDelegate(resolve:Function, reject:Function):void {
var documentationDelegate:DocumentationFormServices = new DocumentationFormServices();
documentationDelegate.getDocumentationFormList(function(event:Event):void {
resolve(event);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ package controller.startup.prepareModel

import org.puremvc.as3.multicore.interfaces.INotification;
import org.puremvc.as3.multicore.patterns.command.SimpleCommand;
import model.proxy.ProxyCategories;

public class CommandPrepareModel extends SimpleCommand
{
Expand Down

0 comments on commit e5e8d77

Please sign in to comment.