Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-5888] Commented out the expand ti includes for now until we can i... #703

Merged
merged 1 commit into from
Nov 15, 2011
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions support/mobileweb/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def extract_tokens(self,sym,line):
return tokens

def expand_ti_includes(self,line,filename):
idx = line.find('Ti.include')
'''idx = line.find('Ti.include')
if idx!=-1:
srcs = line[idx+11:-1]
for srcQ in srcs.split(','):
Expand All @@ -345,7 +345,7 @@ def expand_ti_includes(self,line,filename):
print "[ERROR] Cannot find include file at: %s" % src_path
sys.exit(1)
source = Compiler.make_function_from_file(src_path,self)
self.ti_includes[src] = source
self.ti_includes[src] = source'''

def compile_js(self,file_contents,fn):
contents = ""
Expand Down