not native
diff --git a/GCL/src/main/royale/goog/html/SafeHtml.as b/GCL/src/main/royale/goog/html/SafeHtml.as
index cad4501..9c0b053 100644
--- a/GCL/src/main/royale/goog/html/SafeHtml.as
+++ b/GCL/src/main/royale/goog/html/SafeHtml.as
@@ -13,13 +13,10 @@
// limitations under the License.
package goog.html
{
- /**
- * @externs
- */
public class SafeHtml
{
- public native function SafeHtml();
- public native static function unwrap(safeHtml:SafeHtml):String;
+ public function SafeHtml(){}
+ public static function unwrap(safeHtml:SafeHtml):String{return ""}
}
}
\ No newline at end of file
diff --git a/GCL/src/main/royale/goog/html/SafeUrl.as b/GCL/src/main/royale/goog/html/SafeUrl.as
index affa599..036d49a 100644
--- a/GCL/src/main/royale/goog/html/SafeUrl.as
+++ b/GCL/src/main/royale/goog/html/SafeUrl.as
@@ -47,7 +47,6 @@
* @see goog.html.SafeUrl#fromConstant
* @see goog.html.SafeUrl#from
* @see goog.html.SafeUrl#sanitize
- * @externs
* @final
* @struct
* @implements {goog.i18n.bidi.DirectionalString}
@@ -55,11 +54,11 @@
*/
public class SafeUrl
{
- public native function SafeUrl(value:String, token:Object);
- public native static function unwrap(safeUrl:SafeUrl):String;
- public native static function sanitize(url:String):SafeUrl;
- public native static function isSafeMimeType(mimeType:String):Boolean;
- public native static function fromBlob(blob:Blob):SafeUrl;
- public native static function fromMediaSource(mediaSource:MediaSource):SafeUrl;
+ public function SafeUrl(value:String, token:Object){}
+ public static function unwrap(safeUrl:SafeUrl):String{return ""}
+ public static function sanitize(url:String):SafeUrl{return null}
+ public static function isSafeMimeType(mimeType:String):Boolean{return true}
+ public static function fromBlob(blob:Blob):SafeUrl{return null}
+ public static function fromMediaSource(mediaSource:MediaSource):SafeUrl{return null}
}
}
\ No newline at end of file
diff --git a/GCL/src/main/royale/goog/html/sanitizer/HtmlSanitizer.as b/GCL/src/main/royale/goog/html/sanitizer/HtmlSanitizer.as
index 72bf37e..cfcf1b4 100644
--- a/GCL/src/main/royale/goog/html/sanitizer/HtmlSanitizer.as
+++ b/GCL/src/main/royale/goog/html/sanitizer/HtmlSanitizer.as
@@ -13,13 +13,12 @@
// limitations under the License.
package goog.html.sanitizer
{
- /**
- * @externs
- */
+ import goog.html.SafeHtml;
+
public class HtmlSanitizer
{
- public native function HtmlSanitizer();
- public native static function sanitize(html:String):SafeUrl;
+ public function HtmlSanitizer(){}
+ public static function sanitize(html:String):SafeHtml{return null}
}
}
\ No newline at end of file