Luke Briggs

Fixed compile issues with 2.5 on UWP

......@@ -299,14 +299,14 @@ namespace PowerUI{
}
// Grab the src:
string childSrc=el["src"];
string childSrc=el.getAttribute("src");
if(childSrc==null){
continue;
}
// Get the optional type - it can be Android,W8,IOS,Blackberry:
string type=el["type"];
string type=el.getAttribute("type");
if(type!=null){
type=type.Trim().ToLower();
......
#if NETSTANDARD1_3
#if NETFX_CORE
using System;
using System.Linq;
using System.Reflection;
......
......@@ -100,7 +100,7 @@ namespace Jint.Runtime.Interop
}
// search in loaded assemblies
#if NETSTANDARD1_3
#if NETFX_CORE
var lookupAssemblies = new[] { typeof(NamespaceReference).GetTypeInfo().Assembly };
#else
var lookupAssemblies = new[] { Assembly.GetCallingAssembly(), Assembly.GetExecutingAssembly() };
......
......@@ -32,7 +32,7 @@ namespace WebAssembly{
/// <summary>Logs messages.</summary>
public static void Log(string message){
Console.WriteLine(message);
UnityEngine.Debug.Log(message);
}
/// <summary>Queries the current memory size in WebAssembly pages (64kb).</summary>
......