From 2bfd73b21427bcbbb351fba392f57c1c51737051 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 29 Jul 2011 20:37:11 +0200 Subject: [PATCH] fix vim line --- static/js/pandora.js | 2 +- static/js/pandora/Query.js | 2 +- static/js/pandora/UI.js | 2 +- static/js/pandora/URL.js | 2 +- static/js/pandora/autovalidate.js | 2 +- static/js/pandora/pandora.js | 2 +- static/js/pandora/ui/Ox.FilesView.js | 2 +- static/js/pandora/ui/account.js | 2 +- static/js/pandora/ui/appPanel.js | 2 +- static/js/pandora/ui/backButton.js | 2 +- static/js/pandora/ui/browser.js | 2 +- static/js/pandora/ui/contentPanel.js | 2 +- static/js/pandora/ui/editor.js | 2 +- static/js/pandora/ui/filter.js | 2 +- static/js/pandora/ui/filterDialog.js | 2 +- static/js/pandora/ui/findElement.js | 2 +- static/js/pandora/ui/flipbook.js | 2 +- static/js/pandora/ui/folderBrowser.js | 2 +- static/js/pandora/ui/folderBrowserBar.js | 2 +- static/js/pandora/ui/folderBrowserList.js | 2 +- static/js/pandora/ui/folders.js | 2 +- static/js/pandora/ui/foldersList.js | 2 +- static/js/pandora/ui/group.js | 2 +- static/js/pandora/ui/homePage.js | 2 +- static/js/pandora/ui/info.js | 2 +- static/js/pandora/ui/item.js | 2 +- static/js/pandora/ui/leftPanel.js | 2 +- static/js/pandora/ui/list.js | 3 ++- static/js/pandora/ui/mainPanel.js | 2 +- static/js/pandora/ui/menu.js | 2 +- static/js/pandora/ui/placesDialog.js | 2 +- static/js/pandora/ui/publicLists.js | 2 +- static/js/pandora/ui/rightPanel.js | 2 +- static/js/pandora/ui/sectionButtons.js | 2 +- static/js/pandora/ui/sectionSelect.js | 2 +- static/js/pandora/ui/sectionbar.js | 2 +- static/js/pandora/ui/sortSelect.js | 2 +- static/js/pandora/ui/status.js | 2 +- static/js/pandora/ui/statusbar.js | 2 +- static/js/pandora/ui/toolbar.js | 2 +- static/js/pandora/ui/viewSelect.js | 2 +- 41 files changed, 42 insertions(+), 41 deletions(-) diff --git a/static/js/pandora.js b/static/js/pandora.js index 257525fec..3557a2203 100644 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript /*** Pandora ***/ diff --git a/static/js/pandora/Query.js b/static/js/pandora/Query.js index f14e56b14..65f8ca71f 100644 --- a/static/js/pandora/Query.js +++ b/static/js/pandora/Query.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.Query = (function() { function constructFind(query) { diff --git a/static/js/pandora/UI.js b/static/js/pandora/UI.js index 291ee1f70..d7a13eff5 100644 --- a/static/js/pandora/UI.js +++ b/static/js/pandora/UI.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.UI = (function() { return { set: function(obj) { diff --git a/static/js/pandora/URL.js b/static/js/pandora/URL.js index db18c85e3..192c54657 100644 --- a/static/js/pandora/URL.js +++ b/static/js/pandora/URL.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.URL = (function() { diff --git a/static/js/pandora/autovalidate.js b/static/js/pandora/autovalidate.js index 7c1074727..19e988877 100644 --- a/static/js/pandora/autovalidate.js +++ b/static/js/pandora/autovalidate.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.autovalidateCode = function(value, blur, callback) { value = $.map(value.toUpperCase().split(''), function(v) { return /[0-9A-Z]/(v) ? v : null; diff --git a/static/js/pandora/pandora.js b/static/js/pandora/pandora.js index aac27bba5..4b7a1505e 100644 --- a/static/js/pandora/pandora.js +++ b/static/js/pandora/pandora.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.enterFullscreen = function() { pandora.$ui.appPanel.size(0, 0); diff --git a/static/js/pandora/ui/Ox.FilesView.js b/static/js/pandora/ui/Ox.FilesView.js index d1738937f..82d3e411d 100644 --- a/static/js/pandora/ui/Ox.FilesView.js +++ b/static/js/pandora/ui/Ox.FilesView.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript Ox.FilesView = function(options, self) { diff --git a/static/js/pandora/ui/account.js b/static/js/pandora/ui/account.js index d89290fb5..86ae076d6 100644 --- a/static/js/pandora/ui/account.js +++ b/static/js/pandora/ui/account.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.accountDialog = function(action) { var that = Ox.Dialog($.extend({ diff --git a/static/js/pandora/ui/appPanel.js b/static/js/pandora/ui/appPanel.js index 882391133..7e05f77d4 100644 --- a/static/js/pandora/ui/appPanel.js +++ b/static/js/pandora/ui/appPanel.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.appPanel = function() { var that = Ox.SplitPanel({ elements: [ diff --git a/static/js/pandora/ui/backButton.js b/static/js/pandora/ui/backButton.js index 3d7c97c49..41482d1cb 100644 --- a/static/js/pandora/ui/backButton.js +++ b/static/js/pandora/ui/backButton.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.backButton = function() { var that = Ox.Button({ title: 'Back to ' + pandora.site.itemName.plural, diff --git a/static/js/pandora/ui/browser.js b/static/js/pandora/ui/browser.js index c4de5c578..180316a94 100644 --- a/static/js/pandora/ui/browser.js +++ b/static/js/pandora/ui/browser.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.browser = function() { var that; if (!pandora.user.ui.item) { diff --git a/static/js/pandora/ui/contentPanel.js b/static/js/pandora/ui/contentPanel.js index 89a17d730..2502f471c 100644 --- a/static/js/pandora/ui/contentPanel.js +++ b/static/js/pandora/ui/contentPanel.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.contentPanel = function() { var that = Ox.SplitPanel({ elements: pandora.user.ui.item == '' ? [ diff --git a/static/js/pandora/ui/editor.js b/static/js/pandora/ui/editor.js index 702a6c1ef..66464141d 100644 --- a/static/js/pandora/ui/editor.js +++ b/static/js/pandora/ui/editor.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.annotations = function() { var that = Ox.Element({ id: 'annotations' diff --git a/static/js/pandora/ui/filter.js b/static/js/pandora/ui/filter.js index aabf6c9d7..1b2158b33 100644 --- a/static/js/pandora/ui/filter.js +++ b/static/js/pandora/ui/filter.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.filter = function() { var that = Ox.Filter({ findKeys: Ox.map(pandora.site.itemKeys, function(key) { diff --git a/static/js/pandora/ui/filterDialog.js b/static/js/pandora/ui/filterDialog.js index ed0f07b7e..97bb2fb28 100644 --- a/static/js/pandora/ui/filterDialog.js +++ b/static/js/pandora/ui/filterDialog.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.filterDialog = function() { var that = Ox.Dialog({ buttons: [ diff --git a/static/js/pandora/ui/findElement.js b/static/js/pandora/ui/findElement.js index 4ce6dfcb0..d32c3b133 100644 --- a/static/js/pandora/ui/findElement.js +++ b/static/js/pandora/ui/findElement.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.findElement = function() { var findKey = '', findValue = ''; diff --git a/static/js/pandora/ui/flipbook.js b/static/js/pandora/ui/flipbook.js index 7ce9e2ee0..86cf091e6 100644 --- a/static/js/pandora/ui/flipbook.js +++ b/static/js/pandora/ui/flipbook.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.flipbook = function(item) { var that = Ox.Flipbook({ }).bindEvent('click', function(event, data) { diff --git a/static/js/pandora/ui/folderBrowser.js b/static/js/pandora/ui/folderBrowser.js index b628a7fc6..4fc8fba94 100644 --- a/static/js/pandora/ui/folderBrowser.js +++ b/static/js/pandora/ui/folderBrowser.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.folderBrowser = function(id) { var that = Ox.SplitPanel({ elements: [ diff --git a/static/js/pandora/ui/folderBrowserBar.js b/static/js/pandora/ui/folderBrowserBar.js index 2aab4abe8..895d4da2d 100644 --- a/static/js/pandora/ui/folderBrowserBar.js +++ b/static/js/pandora/ui/folderBrowserBar.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.folderBrowserBar = function(id) { var that = Ox.Bar({ size: 24 diff --git a/static/js/pandora/ui/folderBrowserList.js b/static/js/pandora/ui/folderBrowserList.js index 78d3d871c..881f39ba5 100644 --- a/static/js/pandora/ui/folderBrowserList.js +++ b/static/js/pandora/ui/folderBrowserList.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.folderBrowserList = function(id) { var columnWidth = (pandora.user.ui.sidebarSize - Ox.UI.SCROLLBAR_SIZE - 88) / 2, i = Ox.getPositionById(pandora.site.sectionFolders[pandora.user.ui.section], id), diff --git a/static/js/pandora/ui/folders.js b/static/js/pandora/ui/folders.js index f58d4d6d8..9f28b8537 100644 --- a/static/js/pandora/ui/folders.js +++ b/static/js/pandora/ui/folders.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.folders = function() { var that = Ox.Element() .css({overflowX: 'hidden', overflowY: 'auto'}) diff --git a/static/js/pandora/ui/foldersList.js b/static/js/pandora/ui/foldersList.js index 9e4813b28..395976922 100644 --- a/static/js/pandora/ui/foldersList.js +++ b/static/js/pandora/ui/foldersList.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.folderList = function(id) { var i = Ox.getPositionById(pandora.site.sectionFolders[pandora.user.ui.section], id), that; diff --git a/static/js/pandora/ui/group.js b/static/js/pandora/ui/group.js index a2914ee83..c9c6a521b 100644 --- a/static/js/pandora/ui/group.js +++ b/static/js/pandora/ui/group.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.group = function(id, query) { //Ox.print('group', id, query); /* diff --git a/static/js/pandora/ui/homePage.js b/static/js/pandora/ui/homePage.js index 6d872471d..e87f3fbc3 100644 --- a/static/js/pandora/ui/homePage.js +++ b/static/js/pandora/ui/homePage.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.homePage = function() { diff --git a/static/js/pandora/ui/info.js b/static/js/pandora/ui/info.js index 77de3690d..e1e7c3fdc 100644 --- a/static/js/pandora/ui/info.js +++ b/static/js/pandora/ui/info.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.info = function() { var that = Ox.Element() .append( diff --git a/static/js/pandora/ui/item.js b/static/js/pandora/ui/item.js index e8d9e8a16..1b341ccbf 100644 --- a/static/js/pandora/ui/item.js +++ b/static/js/pandora/ui/item.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.item = function() { var that = Ox.Element(); pandora.api.getItem(pandora.user.ui.item, function(result) { diff --git a/static/js/pandora/ui/leftPanel.js b/static/js/pandora/ui/leftPanel.js index 10276feb1..499bbfb47 100644 --- a/static/js/pandora/ui/leftPanel.js +++ b/static/js/pandora/ui/leftPanel.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.leftPanel = function() { var that = Ox.SplitPanel({ elements: [ diff --git a/static/js/pandora/ui/list.js b/static/js/pandora/ui/list.js index 28aa934b3..110b21bd0 100644 --- a/static/js/pandora/ui/list.js +++ b/static/js/pandora/ui/list.js @@ -1,4 +1,5 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript + pandora.ui.list = function(view) { // fixme: remove view argument var that, $map; //Ox.print('constructList', view); diff --git a/static/js/pandora/ui/mainPanel.js b/static/js/pandora/ui/mainPanel.js index 4638227c4..7ecca0d0b 100644 --- a/static/js/pandora/ui/mainPanel.js +++ b/static/js/pandora/ui/mainPanel.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.mainPanel = function() { var that = Ox.SplitPanel({ elements: [ diff --git a/static/js/pandora/ui/menu.js b/static/js/pandora/ui/menu.js index d44a1f87a..6bdc15b56 100644 --- a/static/js/pandora/ui/menu.js +++ b/static/js/pandora/ui/menu.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.mainMenu = function() { var isGuest = pandora.user.level == 'guest', that = Ox.MainMenu({ diff --git a/static/js/pandora/ui/placesDialog.js b/static/js/pandora/ui/placesDialog.js index 03d379b45..0f0638720 100644 --- a/static/js/pandora/ui/placesDialog.js +++ b/static/js/pandora/ui/placesDialog.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.placesDialog = function() { var height = Math.round(window.innerHeight * 0.9), width = Math.round(window.innerWidth * 0.9), diff --git a/static/js/pandora/ui/publicLists.js b/static/js/pandora/ui/publicLists.js index 4fd58a55f..58b6752d3 100644 --- a/static/js/pandora/ui/publicLists.js +++ b/static/js/pandora/ui/publicLists.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.publicListsDialog = function() { // fixme: unused var that = Ox.Dialog({ buttons: [ diff --git a/static/js/pandora/ui/rightPanel.js b/static/js/pandora/ui/rightPanel.js index 28eac1313..a03dc451a 100644 --- a/static/js/pandora/ui/rightPanel.js +++ b/static/js/pandora/ui/rightPanel.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.rightPanel = function() { var that; if (pandora.user.ui.section == 'site') { diff --git a/static/js/pandora/ui/sectionButtons.js b/static/js/pandora/ui/sectionButtons.js index 954032609..f3bea733b 100644 --- a/static/js/pandora/ui/sectionButtons.js +++ b/static/js/pandora/ui/sectionButtons.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.sectionButtons = function() { var that = Ox.ButtonGroup({ buttons: [ diff --git a/static/js/pandora/ui/sectionSelect.js b/static/js/pandora/ui/sectionSelect.js index 50ad242b2..a23ce5dda 100644 --- a/static/js/pandora/ui/sectionSelect.js +++ b/static/js/pandora/ui/sectionSelect.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.sectionSelect = function() { // fixme: duplicated var that = Ox.Select({ diff --git a/static/js/pandora/ui/sectionbar.js b/static/js/pandora/ui/sectionbar.js index 625014859..0a6f15d55 100644 --- a/static/js/pandora/ui/sectionbar.js +++ b/static/js/pandora/ui/sectionbar.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.sectionbar = function(mode) { var that = Ox.Bar({ size: 24 diff --git a/static/js/pandora/ui/sortSelect.js b/static/js/pandora/ui/sortSelect.js index 33ad0c274..9d6be32be 100644 --- a/static/js/pandora/ui/sortSelect.js +++ b/static/js/pandora/ui/sortSelect.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.sortSelect = function() { var that = Ox.Select({ id: 'sortSelect', diff --git a/static/js/pandora/ui/status.js b/static/js/pandora/ui/status.js index a91cd8cea..f82fce669 100644 --- a/static/js/pandora/ui/status.js +++ b/static/js/pandora/ui/status.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.status = function(key, data) { var that = Ox.toTitleCase(key) + ': ' + [ Ox.formatNumber(data.items) + ' movie' + (data.items != 1 ? 's' : ''), diff --git a/static/js/pandora/ui/statusbar.js b/static/js/pandora/ui/statusbar.js index 6f495843a..1d488ca28 100644 --- a/static/js/pandora/ui/statusbar.js +++ b/static/js/pandora/ui/statusbar.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.statusbar = function() { var that = Ox.Bar({ size: 16 diff --git a/static/js/pandora/ui/toolbar.js b/static/js/pandora/ui/toolbar.js index 2ea4f724d..6b7ef582d 100644 --- a/static/js/pandora/ui/toolbar.js +++ b/static/js/pandora/ui/toolbar.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.toolbar = function() { var that = Ox.Bar({ size: 24 diff --git a/static/js/pandora/ui/viewSelect.js b/static/js/pandora/ui/viewSelect.js index 16f9d69bb..e21e0c90f 100644 --- a/static/js/pandora/ui/viewSelect.js +++ b/static/js/pandora/ui/viewSelect.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.viewSelect = function() { var that = Ox.Select({ id: 'viewSelect',