Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated js2-mode

  • Loading branch information...
commit d39656310603b66c7621a2d5e33aae784f23eb4a 1 parent 9d69d38
@kyleburton authored
Showing with 3,414 additions and 3,713 deletions.
  1. +2 −2 .emacs
  2. +9 −0 Rakefile
  3. +3,403 −3,711 lib/{js2.el → js2-mode.el}
View
4 .emacs
@@ -490,8 +490,8 @@ the backing files."
;; end Java
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-(autoload 'js2-mode "js2" nil t)
-(krb-push-file-ext-and-mode-binding 'js2-mode "\\.js$")
+(autoload 'js2-mode "js2-mode" nil t)
+(add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
(setq c-syntactic-indentation t)
(setq c-electric-flag t)
View
9 Rakefile
@@ -0,0 +1,9 @@
+namespace :js2 do
+ desc "Pull update for js2-mode"
+ task :update do
+ github_project = "https://github.com/mooz/js2-mode"
+ url = "https://raw.github.com/mooz/js2-mode/master/js2-mode.el"
+ system "wget", url
+ FileUtils.mv "js2-mode.el", "lib"
+ end
+end
View
7,114 lib/js2.el → lib/js2-mode.el
3,403 additions, 3,711 deletions not shown
Please sign in to comment.
Something went wrong with that request. Please try again.