~imbrandon/ubuntu-accomplishments-daemon/new-theme

« back to all changes in this revision

Viewing changes to docs/_templates/ubuntu1204/static/lib/prettyprint/lang-clj.js

  • Committer: Brandon Holtsclaw
  • Date: 2012-07-20 02:33:26 UTC
  • Revision ID: me@brandonholtsclaw.com-20120720023326-17hsd8z50s2jp8fo
adding ubuntu1204 sphinx base-theme

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 Copyright (C) 2011 Google Inc.
 
3
 
 
4
 Licensed under the Apache License, Version 2.0 (the "License");
 
5
 you may not use this file except in compliance with the License.
 
6
 You may obtain a copy of the License at
 
7
 
 
8
 http://www.apache.org/licenses/LICENSE-2.0
 
9
 
 
10
 Unless required by applicable law or agreed to in writing, software
 
11
 distributed under the License is distributed on an "AS IS" BASIS,
 
12
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
13
 See the License for the specific language governing permissions and
 
14
 limitations under the License.
 
15
*/
 
16
var a=null;
 
17
PR.registerLangHandler(PR.createSimpleLexer([["opn",/^[([{]+/,a,"([{"],["clo",/^[)\]}]+/,a,")]}"],["com",/^;[^\n\r]*/,a,";"],["pln",/^[\t\n\r \xa0]+/,a,"\t\n\r \xa0"],["str",/^"(?:[^"\\]|\\[\S\s])*(?:"|$)/,a,'"']],[["kwd",/^(?:def|if|do|let|quote|var|fn|loop|recur|throw|try|monitor-enter|monitor-exit|defmacro|defn|defn-|macroexpand|macroexpand-1|for|doseq|dosync|dotimes|and|or|when|not|assert|doto|proxy|defstruct|first|rest|cons|defprotocol|deftype|defrecord|reify|defmulti|defmethod|meta|with-meta|ns|in-ns|create-ns|import|intern|refer|alias|namespace|resolve|ref|deref|refset|new|set!|memfn|to-array|into-array|aset|gen-class|reduce|map|filter|find|nil?|empty?|hash-map|hash-set|vec|vector|seq|flatten|reverse|assoc|dissoc|list|list?|disj|get|union|difference|intersection|extend|extend-type|extend-protocol|prn)\b/,a],
 
18
["typ",/^:[\dA-Za-z-]+/]]),["clj"]);