| OLD | NEW |
| 1 // Copyright (c) 2013 by Amro <amroamroamro@gmail.com> | 1 // Copyright (c) 2013 by Amro <amroamroamro@gmail.com> |
| 2 // | 2 // |
| 3 // Permission is hereby granted, free of charge, to any person obtaining a copy | 3 // Permission is hereby granted, free of charge, to any person obtaining a copy |
| 4 // of this software and associated documentation files (the "Software"), to deal | 4 // of this software and associated documentation files (the "Software"), to deal |
| 5 // in the Software without restriction, including without limitation the rights | 5 // in the Software without restriction, including without limitation the rights |
| 6 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | 6 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 7 // copies of the Software, and to permit persons to whom the Software is | 7 // copies of the Software, and to permit persons to whom the Software is |
| 8 // furnished to do so, subject to the following conditions: | 8 // furnished to do so, subject to the following conditions: |
| 9 // | 9 // |
| 10 // The above copyright notice and this permission notice shall be included in | 10 // The above copyright notice and this permission notice shall be included in |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 ); | 171 ); |
| 172 PR.registerLangHandler( | 172 PR.registerLangHandler( |
| 173 PR.createSimpleLexer([], operatorsPatterns), | 173 PR.createSimpleLexer([], operatorsPatterns), |
| 174 ["matlab-operators"] | 174 ["matlab-operators"] |
| 175 ); | 175 ); |
| 176 PR.registerLangHandler( | 176 PR.registerLangHandler( |
| 177 PR.createSimpleLexer(shortcutStylePatterns, fallthroughStylePatterns), | 177 PR.createSimpleLexer(shortcutStylePatterns, fallthroughStylePatterns), |
| 178 ["matlab"] | 178 ["matlab"] |
| 179 ); | 179 ); |
| 180 })(window['PR']); | 180 })(window['PR']); |
| OLD | NEW |