My favorites
▼
|
Sign in
justinfront
Justinfront Open Code
Project Home
Downloads
Wiki
Issues
Source
Repository:
default
wiki
Checkout
Browse
Changes
Clones
Source path:
hg
/
javascript_haxe_site
/
net
/
justinfront
/
utils
/
HtmlLoader.hx
fa42ab1409cf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package net.justinfront.utils;
import neash.events.EventDispatcher;
import haxe.Http;
import js.Lib;
class HtmlLoader extends EventDispatcher
{
private var _str: String;
private var _file: String;
public function new()
{
super();
}
public function load( file_: String )
{
_file = file_;
var r = new Http( _file );
r.onError = Lib.alert;
r.onData = htmlLoaded;
r.request( false );
}
private function htmlLoaded( r )
{
_str = cast(r);
DispatchCompleteEvent();
}
public function getHtml():String
{
return _str;
}
}
Show details
Hide details
Change log
fa42ab1409cf
by JLM <j...@justinfront.net> on Jul 15, 2009
Diff
initial commit
Go to:
/.DS_Store
/javascript_haxe_site/SiteMain.hx
...ascript_haxe_site/buildsite.hxml
...cript_haxe_site/deploy/.DS_Store
...defromtextmate/ChildView_hx.html
...efromtextmate/Controller_hx.html
...extmate/DisplayRectangle_hx.html
...textmate/EventDispatcher_hx.html
...efromtextmate/EventPhase_hx.html
...y/codefromtextmate/Event_hx.html
...fromtextmate/ExpandChild_hx.html
...efromtextmate/ExpandView_hx.html
...mtextmate/GradientFiller_hx.html
...efromtextmate/HtmlLoader_hx.html
...extmate/IEventDispatcher_hx.html
...odefromtextmate/ModelXML_hx.html
...y/codefromtextmate/Model_hx.html
...y/codefromtextmate/Panel_hx.html
...defromtextmate/ScrollBar_hx.html
...omtextmate/SimpleTweener_hx.html
...odefromtextmate/SiteMain_hx.html
...efromtextmate/StackPanel_hx.html
...codefromtextmate/TabView_hx.html
...efromtextmate/Text3DView_hx.html
...defromtextmate/TreeModel_hx.html
...odefromtextmate/TreeView_hx.html
...fromtextmate/buildsite_hxml.html
...codefromtextmate/index_html.html
...odefromtextmate/sitehaxe_js.html
...efromtextmate/structure_xml.html
...mtextmate/treeStructure_xml.html
...ript_haxe_site/deploy/index.html
...ipt_haxe_site/deploy/sitehaxe.js
...t_haxe_site/deploy/structure.xml
...xe_site/deploy/treeStructure.xml
..._haxe_site/neash/events/Event.hx
.../neash/events/EventDispatcher.hx
..._site/neash/events/EventPhase.hx
...neash/events/IEventDispatcher.hx
...ite/neash/events/IOErrorEvent.hx
/javascript_haxe_site/net/.DS_Store
...nfront/application/Controller.hx
...justinfront/application/Model.hx
...infront/application/TreeModel.hx
...application/views/ExpandChild.hx
.../application/views/ExpandView.hx
...ont/application/views/TabView.hx
.../application/views/Text3DView.hx
...nt/application/views/TreeView.hx
.../net/justinfront/panels/Panel.hx
Project members,
sign in
to write a code review
Older revisions
All revisions of this file
File info
Size: 807 bytes, 52 lines
View raw file
Powered by
Google Project Hosting