Skip to content

Commit

Permalink
finally got pathing working for unpackers
Browse files Browse the repository at this point in the history
  • Loading branch information
scott2449 committed Oct 18, 2012
1 parent d8bdf34 commit 9639591
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions js_formatter.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
import sublime, sublime_plugin, jsbeautifier, re
import sublime, sublime_plugin, re, os, sys

# always import the bundled rope
path = os.path.dirname(os.path.normpath(os.path.abspath(__file__)))
sys.path.insert(0, path)

import jsbeautifier

s = sublime.load_settings("JsFormat.sublime-settings")

class JsFormatCommand(sublime_plugin.TextCommand):
def run(self, edit):
settings = self.view.settings()
settings = self.view.settings()

# settings
opts = jsbeautifier.default_options()
Expand Down
Binary file added js_formatter.pyc
Binary file not shown.
Binary file added jsbeautifier/__init__.pyc
Binary file not shown.
Binary file added jsbeautifier/unpackers/__init__.pyc
Binary file not shown.
Binary file added jsbeautifier/unpackers/evalbased.pyc
Binary file not shown.
Binary file added jsbeautifier/unpackers/javascriptobfuscator.pyc
Binary file not shown.
Binary file added jsbeautifier/unpackers/myobfuscate.pyc
Binary file not shown.
Binary file added jsbeautifier/unpackers/packer.pyc
Binary file not shown.
Binary file added jsbeautifier/unpackers/urlencode.pyc
Binary file not shown.

0 comments on commit 9639591

Please sign in to comment.