Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

changes in the API

  • Loading branch information...
commit e94d3e8bd168a9829b01c7779e688f88f195fa45 1 parent 9f6c7d2
Anton Podviaznikov authored July 13, 2011
1  .idea/.name
... ...
@@ -0,0 +1 @@
  1
+soundcloud-node
21  .idea/compiler.xml
... ...
@@ -0,0 +1,21 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<project version="4">
  3
+  <component name="CompilerConfiguration">
  4
+    <option name="DEFAULT_COMPILER" value="Javac" />
  5
+    <resourceExtensions />
  6
+    <wildcardResourcePatterns>
  7
+      <entry name="?*.properties" />
  8
+      <entry name="?*.xml" />
  9
+      <entry name="?*.gif" />
  10
+      <entry name="?*.png" />
  11
+      <entry name="?*.jpeg" />
  12
+      <entry name="?*.jpg" />
  13
+      <entry name="?*.html" />
  14
+      <entry name="?*.dtd" />
  15
+      <entry name="?*.tld" />
  16
+      <entry name="?*.ftl" />
  17
+    </wildcardResourcePatterns>
  18
+    <annotationProcessing enabled="false" useClasspath="true" />
  19
+  </component>
  20
+</project>
  21
+
5  .idea/copyright/profiles_settings.xml
... ...
@@ -0,0 +1,5 @@
5  .idea/encodings.xml
... ...
@@ -0,0 +1,5 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<project version="4">
  3
+  <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
  4
+</project>
  5
+
42  .idea/misc.xml
... ...
@@ -0,0 +1,42 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<project version="4">
  3
+  <component name="DependencyValidationManager">
  4
+    <option name="SKIP_IMPORT_STATEMENTS" value="false" />
  5
+  </component>
  6
+  <component name="JavadocGenerationManager">
  7
+    <option name="OUTPUT_DIRECTORY" />
  8
+    <option name="OPTION_SCOPE" value="protected" />
  9
+    <option name="OPTION_HIERARCHY" value="true" />
  10
+    <option name="OPTION_NAVIGATOR" value="true" />
  11
+    <option name="OPTION_INDEX" value="true" />
  12
+    <option name="OPTION_SEPARATE_INDEX" value="true" />
  13
+    <option name="OPTION_DOCUMENT_TAG_USE" value="false" />
  14
+    <option name="OPTION_DOCUMENT_TAG_AUTHOR" value="false" />
  15
+    <option name="OPTION_DOCUMENT_TAG_VERSION" value="false" />
  16
+    <option name="OPTION_DOCUMENT_TAG_DEPRECATED" value="true" />
  17
+    <option name="OPTION_DEPRECATED_LIST" value="true" />
  18
+    <option name="OTHER_OPTIONS" value="" />
  19
+    <option name="HEAP_SIZE" />
  20
+    <option name="LOCALE" />
  21
+    <option name="OPEN_IN_BROWSER" value="true" />
  22
+  </component>
  23
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_5" assert-keyword="true" jdk-15="true">
  24
+    <output url="file://$PROJECT_DIR$/out" />
  25
+  </component>
  26
+  <component name="masterDetails">
  27
+    <states>
  28
+      <state key="ProjectJDKs.UI">
  29
+        <settings>
  30
+          <splitter-proportions>
  31
+            <option name="proportions">
  32
+              <list>
  33
+                <option value="0.2" />
  34
+              </list>
  35
+            </option>
  36
+          </splitter-proportions>
  37
+        </settings>
  38
+      </state>
  39
+    </states>
  40
+  </component>
  41
+</project>
  42
+
9  .idea/modules.xml
... ...
@@ -0,0 +1,9 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<project version="4">
  3
+  <component name="ProjectModuleManager">
  4
+    <modules>
  5
+      <module fileurl="file://$PROJECT_DIR$/soundcloud-node.iml" filepath="$PROJECT_DIR$/soundcloud-node.iml" />
  6
+    </modules>
  7
+  </component>
  8
+</project>
  9
+
125  .idea/uiDesigner.xml
... ...
@@ -0,0 +1,125 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<project version="4">
  3
+  <component name="Palette2">
  4
+    <group name="Swing">
  5
+      <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
  6
+        <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
  7
+      </item>
  8
+      <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
  9
+        <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
  10
+      </item>
  11
+      <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
  12
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
  13
+      </item>
  14
+      <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
  15
+        <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
  16
+      </item>
  17
+      <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
  18
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
  19
+        <initial-values>
  20
+          <property name="text" value="Button" />
  21
+        </initial-values>
  22
+      </item>
  23
+      <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
  24
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
  25
+        <initial-values>
  26
+          <property name="text" value="RadioButton" />
  27
+        </initial-values>
  28
+      </item>
  29
+      <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
  30
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
  31
+        <initial-values>
  32
+          <property name="text" value="CheckBox" />
  33
+        </initial-values>
  34
+      </item>
  35
+      <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
  36
+        <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
  37
+        <initial-values>
  38
+          <property name="text" value="Label" />
  39
+        </initial-values>
  40
+      </item>
  41
+      <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
  42
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
  43
+          <preferred-size width="150" height="-1" />
  44
+        </default-constraints>
  45
+      </item>
  46
+      <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
  47
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
  48
+          <preferred-size width="150" height="-1" />
  49
+        </default-constraints>
  50
+      </item>
  51
+      <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
  52
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
  53
+          <preferred-size width="150" height="-1" />
  54
+        </default-constraints>
  55
+      </item>
  56
+      <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
  57
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
  58
+          <preferred-size width="150" height="50" />
  59
+        </default-constraints>
  60
+      </item>
  61
+      <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
  62
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
  63
+          <preferred-size width="150" height="50" />
  64
+        </default-constraints>
  65
+      </item>
  66
+      <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
  67
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
  68
+          <preferred-size width="150" height="50" />
  69
+        </default-constraints>
  70
+      </item>
  71
+      <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
  72
+        <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
  73
+      </item>
  74
+      <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
  75
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
  76
+          <preferred-size width="150" height="50" />
  77
+        </default-constraints>
  78
+      </item>
  79
+      <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
  80
+        <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
  81
+          <preferred-size width="150" height="50" />
  82
+        </default-constraints>
  83
+      </item>
  84
+      <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
  85
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
  86
+          <preferred-size width="150" height="50" />
  87
+        </default-constraints>
  88
+      </item>
  89
+      <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
  90
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
  91
+          <preferred-size width="200" height="200" />
  92
+        </default-constraints>
  93
+      </item>
  94
+      <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
  95
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
  96
+          <preferred-size width="200" height="200" />
  97
+        </default-constraints>
  98
+      </item>
  99
+      <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
  100
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
  101
+      </item>
  102
+      <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
  103
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
  104
+      </item>
  105
+      <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
  106
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
  107
+      </item>
  108
+      <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
  109
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
  110
+      </item>
  111
+      <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
  112
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
  113
+          <preferred-size width="-1" height="20" />
  114
+        </default-constraints>
  115
+      </item>
  116
+      <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
  117
+        <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
  118
+      </item>
  119
+      <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
  120
+        <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
  121
+      </item>
  122
+    </group>
  123
+  </component>
  124
+</project>
  125
+
7  .idea/vcs.xml
... ...
@@ -0,0 +1,7 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<project version="4">
  3
+  <component name="VcsDirectoryMappings">
  4
+    <mapping directory="" vcs="" />
  5
+  </component>
  6
+</project>
  7
+
386  .idea/workspace.xml
... ...
@@ -0,0 +1,386 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<project version="4">
  3
+  <component name="ChangeListManager">
  4
+    <list default="true" id="c03529b9-f89b-41c9-aeb1-8495dfa3b591" name="Default" comment="" />
  5
+    <ignored path="soundcloud-node.iws" />
  6
+    <ignored path=".idea/workspace.xml" />
  7
+    <option name="TRACKING_ENABLED" value="true" />
  8
+    <option name="SHOW_DIALOG" value="false" />
  9
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
  10
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
  11
+    <option name="LAST_RESOLUTION" value="IGNORE" />
  12
+  </component>
  13
+  <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
  14
+  <component name="CreatePatchCommitExecutor">
  15
+    <option name="PATCH_PATH" value="" />
  16
+    <option name="REVERSE_PATCH" value="false" />
  17
+  </component>
  18
+  <component name="DaemonCodeAnalyzer">
  19
+    <disable_hints />
  20
+  </component>
  21
+  <component name="DebuggerManager">
  22
+    <breakpoint_any>
  23
+      <breakpoint>
  24
+        <option name="NOTIFY_CAUGHT" value="true" />
  25
+        <option name="NOTIFY_UNCAUGHT" value="true" />
  26
+        <option name="ENABLED" value="false" />
  27
+        <option name="LOG_ENABLED" value="false" />
  28
+        <option name="LOG_EXPRESSION_ENABLED" value="false" />
  29
+        <option name="SUSPEND_POLICY" value="SuspendAll" />
  30
+        <option name="COUNT_FILTER_ENABLED" value="false" />
  31
+        <option name="COUNT_FILTER" value="0" />
  32
+        <option name="CONDITION_ENABLED" value="false" />
  33
+        <option name="CLASS_FILTERS_ENABLED" value="false" />
  34
+        <option name="INSTANCE_FILTERS_ENABLED" value="false" />
  35
+        <option name="CONDITION" value="" />
  36
+        <option name="LOG_MESSAGE" value="" />
  37
+      </breakpoint>
  38
+      <breakpoint>
  39
+        <option name="NOTIFY_CAUGHT" value="true" />
  40
+        <option name="NOTIFY_UNCAUGHT" value="true" />
  41
+        <option name="ENABLED" value="false" />
  42
+        <option name="LOG_ENABLED" value="false" />
  43
+        <option name="LOG_EXPRESSION_ENABLED" value="false" />
  44
+        <option name="SUSPEND_POLICY" value="SuspendAll" />
  45
+        <option name="COUNT_FILTER_ENABLED" value="false" />
  46
+        <option name="COUNT_FILTER" value="0" />
  47
+        <option name="CONDITION_ENABLED" value="false" />
  48
+        <option name="CLASS_FILTERS_ENABLED" value="false" />
  49
+        <option name="INSTANCE_FILTERS_ENABLED" value="false" />
  50
+        <option name="CONDITION" value="" />
  51
+        <option name="LOG_MESSAGE" value="" />
  52
+      </breakpoint>
  53
+    </breakpoint_any>
  54
+    <breakpoint_rules />
  55
+    <ui_properties />
  56
+  </component>
  57
+  <component name="FavoritesManager">
  58
+    <favorites_list name="soundcloud-node" />
  59
+  </component>
  60
+  <component name="FileEditorManager">
  61
+    <leaf>
  62
+      <file leaf-file-name="soundcloud.js" pinned="false" current="false" current-in-tab="false">
  63
+        <entry file="file://$PROJECT_DIR$/lib/soundcloud.js">
  64
+          <provider selected="true" editor-type-id="text-editor">
  65
+            <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
  66
+              <folding />
  67
+            </state>
  68
+          </provider>
  69
+        </entry>
  70
+      </file>
  71
+      <file leaf-file-name="README.md" pinned="false" current="true" current-in-tab="true">
  72
+        <entry file="file://$PROJECT_DIR$/README.md">
  73
+          <provider selected="true" editor-type-id="text-editor">
  74
+            <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
  75
+              <folding />
  76
+            </state>
  77
+          </provider>
  78
+        </entry>
  79
+      </file>
  80
+      <file leaf-file-name="package.json" pinned="false" current="false" current-in-tab="false">
  81
+        <entry file="file://$PROJECT_DIR$/package.json">
  82
+          <provider selected="true" editor-type-id="text-editor">
  83
+            <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
  84
+              <folding />
  85
+            </state>
  86
+          </provider>
  87
+        </entry>
  88
+      </file>
  89
+    </leaf>
  90
+  </component>
  91
+  <component name="FindManager">
  92
+    <FindUsagesManager>
  93
+      <setting name="OPEN_NEW_TAB" value="false" />
  94
+    </FindUsagesManager>
  95
+  </component>
  96
+  <component name="Git.Settings">
  97
+    <option name="CHECKOUT_INCLUDE_TAGS" value="false" />
  98
+    <option name="UPDATE_CHANGES_POLICY" value="STASH" />
  99
+  </component>
  100
+  <component name="ModuleEditorState">
  101
+    <option name="LAST_EDITED_MODULE_NAME" />
  102
+    <option name="LAST_EDITED_TAB_NAME" />
  103
+  </component>
  104
+  <component name="ProjectLevelVcsManager" settingsEditedManually="false">
  105
+    <OptionsSetting value="true" id="Add" />
  106
+    <OptionsSetting value="true" id="Remove" />
  107
+    <OptionsSetting value="true" id="Checkout" />
  108
+    <OptionsSetting value="true" id="Update" />
  109
+    <OptionsSetting value="true" id="Status" />
  110
+    <OptionsSetting value="true" id="Edit" />
  111
+    <ConfirmationsSetting value="0" id="Add" />
  112
+    <ConfirmationsSetting value="0" id="Remove" />
  113
+  </component>
  114
+  <component name="ProjectReloadState">
  115
+    <option name="STATE" value="0" />
  116
+  </component>
  117
+  <component name="ProjectView">
  118
+    <navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
  119
+      <flattenPackages />
  120
+      <showMembers />
  121
+      <showModules />
  122
+      <showLibraryContents />
  123
+      <hideEmptyPackages />
  124
+      <abbreviatePackageNames />
  125
+      <autoscrollToSource />
  126
+      <autoscrollFromSource />
  127
+      <sortByType />
  128
+    </navigator>
  129
+    <panes>
  130
+      <pane id="Scope" />
  131
+      <pane id="ProjectPane">
  132
+        <subPane>
  133
+          <PATH>
  134
+            <PATH_ELEMENT>
  135
+              <option name="myItemId" value="soundcloud-node" />
  136
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
  137
+            </PATH_ELEMENT>
  138
+          </PATH>
  139
+          <PATH>
  140
+            <PATH_ELEMENT>
  141
+              <option name="myItemId" value="soundcloud-node" />
  142
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
  143
+            </PATH_ELEMENT>
  144
+            <PATH_ELEMENT>
  145
+              <option name="myItemId" value="soundcloud-node" />
  146
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
  147
+            </PATH_ELEMENT>
  148
+          </PATH>
  149
+          <PATH>
  150
+            <PATH_ELEMENT>
  151
+              <option name="myItemId" value="soundcloud-node" />
  152
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
  153
+            </PATH_ELEMENT>
  154
+            <PATH_ELEMENT>
  155
+              <option name="myItemId" value="soundcloud-node" />
  156
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
  157
+            </PATH_ELEMENT>
  158
+            <PATH_ELEMENT>
  159
+              <option name="myItemId" value="node_modules" />
  160
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
  161
+            </PATH_ELEMENT>
  162
+          </PATH>
  163
+          <PATH>
  164
+            <PATH_ELEMENT>
  165
+              <option name="myItemId" value="soundcloud-node" />
  166
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
  167
+            </PATH_ELEMENT>
  168
+            <PATH_ELEMENT>
  169
+              <option name="myItemId" value="soundcloud-node" />
  170
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
  171
+            </PATH_ELEMENT>
  172
+            <PATH_ELEMENT>
  173
+              <option name="myItemId" value="lib" />
  174
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
  175
+            </PATH_ELEMENT>
  176
+          </PATH>
  177
+        </subPane>
  178
+      </pane>
  179
+      <pane id="PackagesPane" />
  180
+      <pane id="Favorites" />
  181
+    </panes>
  182
+  </component>
  183
+  <component name="PropertiesComponent">
  184
+    <property name="GoToFile.includeJavaFiles" value="false" />
  185
+    <property name="GoToClass.toSaveIncludeLibraries" value="false" />
  186
+    <property name="MemberChooser.sorted" value="false" />
  187
+    <property name="MemberChooser.showClasses" value="true" />
  188
+    <property name="GoToClass.includeLibraries" value="false" />
  189
+    <property name="MemberChooser.copyJavadoc" value="false" />
  190
+  </component>
  191
+  <component name="RunManager">
  192
+    <configuration default="true" type="Remote" factoryName="Remote">
  193
+      <option name="USE_SOCKET_TRANSPORT" value="true" />
  194
+      <option name="SERVER_MODE" value="false" />
  195
+      <option name="SHMEM_ADDRESS" value="javadebug" />
  196
+      <option name="HOST" value="localhost" />
  197
+      <option name="PORT" value="5005" />
  198
+      <method>
  199
+        <option name="AntTarget" enabled="false" />
  200
+        <option name="BuildArtifacts" enabled="false" />
  201
+        <option name="Maven.BeforeRunTask" enabled="false" />
  202
+      </method>
  203
+    </configuration>
  204
+    <configuration default="true" type="Applet" factoryName="Applet">
  205
+      <module name="" />
  206
+      <option name="MAIN_CLASS_NAME" />
  207
+      <option name="HTML_FILE_NAME" />
  208
+      <option name="HTML_USED" value="false" />
  209
+      <option name="WIDTH" value="400" />
  210
+      <option name="HEIGHT" value="300" />
  211
+      <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
  212
+      <option name="VM_PARAMETERS" />
  213
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
  214
+      <option name="ALTERNATIVE_JRE_PATH" />
  215
+      <method>
  216
+        <option name="AntTarget" enabled="false" />
  217
+        <option name="BuildArtifacts" enabled="false" />
  218
+        <option name="Make" enabled="true" />
  219
+        <option name="Maven.BeforeRunTask" enabled="false" />
  220
+      </method>
  221
+    </configuration>
  222
+    <configuration default="true" type="Application" factoryName="Application">
  223
+      <option name="MAIN_CLASS_NAME" />
  224
+      <option name="VM_PARAMETERS" />
  225
+      <option name="PROGRAM_PARAMETERS" />
  226
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
  227
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
  228
+      <option name="ALTERNATIVE_JRE_PATH" />
  229
+      <option name="ENABLE_SWING_INSPECTOR" value="false" />
  230
+      <option name="ENV_VARIABLES" />
  231
+      <option name="PASS_PARENT_ENVS" value="true" />
  232
+      <module name="" />
  233
+      <envs />
  234
+      <method>
  235
+        <option name="AntTarget" enabled="false" />
  236
+        <option name="BuildArtifacts" enabled="false" />
  237
+        <option name="Make" enabled="true" />
  238
+        <option name="Maven.BeforeRunTask" enabled="false" />
  239
+      </method>
  240
+    </configuration>
  241
+    <configuration default="true" type="JUnit" factoryName="JUnit">
  242
+      <module name="" />
  243
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
  244
+      <option name="ALTERNATIVE_JRE_PATH" />
  245
+      <option name="PACKAGE_NAME" />
  246
+      <option name="MAIN_CLASS_NAME" />
  247
+      <option name="METHOD_NAME" />
  248
+      <option name="TEST_OBJECT" value="class" />
  249
+      <option name="VM_PARAMETERS" />
  250
+      <option name="PARAMETERS" />
  251
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
  252
+      <option name="ENV_VARIABLES" />
  253
+      <option name="PASS_PARENT_ENVS" value="true" />
  254
+      <option name="TEST_SEARCH_SCOPE">
  255
+        <value defaultName="moduleWithDependencies" />
  256
+      </option>
  257
+      <envs />
  258
+      <patterns />
  259
+      <method>
  260
+        <option name="AntTarget" enabled="false" />
  261
+        <option name="BuildArtifacts" enabled="false" />
  262
+        <option name="Make" enabled="true" />
  263
+        <option name="Maven.BeforeRunTask" enabled="false" />
  264
+      </method>
  265
+    </configuration>
  266
+    <list size="0" />
  267
+    <configuration name="&lt;template&gt;" type="WebApp" default="true" selected="false">
  268
+      <Host>localhost</Host>
  269
+      <Port>5050</Port>
  270
+    </configuration>
  271
+  </component>
  272
+  <component name="ShelveChangesManager" show_recycled="false" />
  273
+  <component name="SvnConfiguration" maxAnnotateRevisions="500">
  274
+    <option name="USER" value="" />
  275
+    <option name="PASSWORD" value="" />
  276
+    <option name="mySSHConnectionTimeout" value="30000" />
  277
+    <option name="mySSHReadTimeout" value="30000" />
  278
+    <option name="LAST_MERGED_REVISION" />
  279
+    <option name="MERGE_DRY_RUN" value="false" />
  280
+    <option name="MERGE_DIFF_USE_ANCESTRY" value="true" />
  281
+    <option name="UPDATE_LOCK_ON_DEMAND" value="false" />
  282
+    <option name="IGNORE_SPACES_IN_MERGE" value="false" />
  283
+    <option name="DETECT_NESTED_COPIES" value="true" />
  284
+    <option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" />
  285
+    <option name="IGNORE_SPACES_IN_ANNOTATE" value="true" />
  286
+    <option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" />
  287
+    <option name="FORCE_UPDATE" value="false" />
  288
+    <myIsUseDefaultProxy>false</myIsUseDefaultProxy>
  289
+  </component>
  290
+  <component name="TaskManager">
  291
+    <task active="true" id="Default" summary="Default task">
  292
+      <created>1310548875657</created>
  293
+      <updated>1310548875657</updated>
  294
+    </task>
  295
+    <servers />
  296
+  </component>
  297
+  <component name="ToolWindowManager">
  298
+    <frame x="0" y="24" width="1366" height="720" extended-state="0" />
  299
+    <editor active="false" />
  300
+    <layout>
  301
+      <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
  302
+      <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
  303
+      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
  304
+      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
  305
+      <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
  306
+      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
  307
+      <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
  308
+      <window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
  309
+      <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
  310
+      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
  311
+      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
  312
+      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
  313
+      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
  314
+      <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
  315
+      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
  316
+      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
  317
+      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
  318
+    </layout>
  319
+  </component>
  320
+  <component name="VcsManagerConfiguration">
  321
+    <option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
  322
+    <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" />
  323
+    <option name="CHECK_NEW_TODO" value="true" />
  324
+    <option name="myTodoPanelSettings">
  325
+      <value>
  326
+        <are-packages-shown value="false" />
  327
+        <are-modules-shown value="false" />
  328
+        <flatten-packages value="false" />
  329
+        <is-autoscroll-to-source value="false" />
  330
+      </value>
  331
+    </option>
  332
+    <option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" />
  333
+    <option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" />
  334
+    <option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
  335
+    <option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" />
  336
+    <option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
  337
+    <option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
  338
+    <option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
  339
+    <option name="ENABLE_BACKGROUND_PROCESSES" value="false" />
  340
+    <option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
  341
+    <option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
  342
+    <option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" />
  343
+    <option name="DEFAULT_PATCH_EXTENSION" value="patch" />
  344
+    <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
  345
+    <option name="LAST_COMMIT_MESSAGE" />
  346
+    <option name="MAKE_NEW_CHANGELIST_ACTIVE" value="true" />
  347
+    <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
  348
+    <option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
  349
+    <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
  350
+    <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
  351
+    <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
  352
+    <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
  353
+    <option name="ACTIVE_VCS_NAME" />
  354
+    <option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
  355
+    <option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
  356
+    <option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
  357
+    <option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
  358
+  </component>
  359
+  <component name="XDebuggerManager">
  360
+    <breakpoint-manager />
  361
+  </component>
  362
+  <component name="editorHistoryManager">
  363
+    <entry file="file://$PROJECT_DIR$/lib/soundcloud.js">
  364
+      <provider selected="true" editor-type-id="text-editor">
  365
+        <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
  366
+          <folding />
  367
+        </state>
  368
+      </provider>
  369
+    </entry>
  370
+    <entry file="file://$PROJECT_DIR$/package.json">
  371
+      <provider selected="true" editor-type-id="text-editor">
  372
+        <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
  373
+          <folding />
  374
+        </state>
  375
+      </provider>
  376
+    </entry>
  377
+    <entry file="file://$PROJECT_DIR$/README.md">
  378
+      <provider selected="true" editor-type-id="text-editor">
  379
+        <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
  380
+          <folding />
  381
+        </state>
  382
+      </provider>
  383
+    </entry>
  384
+  </component>
  385
+</project>
  386
+
2  README.md
Source Rendered
... ...
@@ -1,6 +1,6 @@
1 1
 # soundcloud
2 2
 
3  
-Node.js API client for soundcloudn platform.
  3
+Node.js API client for SoundCloud platform.
4 4
 
5 5
 
6 6
 ## License
27  lib/soundcloud.js
@@ -3,35 +3,30 @@ var util=require('util'),
3 3
     rest=require('restler'),
4 4
     cloudsound=exports;
5 5
     
6  
-//should be called before calling othe rapi methods
7  
-cloudsound.saveOauthToken=function(token){
8  
-    this.oauth_token=token;
9  
-};
10  
-
11  
-
12 6
 //me resources
13  
-cloudsound.me=function(callback){
14  
-    jsonRequest('/me.json',{},callback,function(){
  7
+cloudsound.me=function(token,callback){
  8
+    jsonRequest('/me.json',{oauth_token:token},callback,function(){
15 9
         callback({});    
16 10
     });
17 11
 };
18 12
 //all tracks for user
19  
-cloudsound.myTracks=function(callback){
20  
-    jsonRequest('/me/tracks.json',{},callback,function(){
  13
+cloudsound.myTracks=function(token,callback){
  14
+    jsonRequest('/me/tracks.json',{oauth_token:token},callback,function(){
21 15
         callback([]);    
22 16
     });
23 17
 };
24 18
 //private streamable tracks
25  
-cloudsound.myPrivateStreamableTracks=function(callback){
26  
-    jsonRequest('/me/tracks.json',{filter:'private,streamable'},function(tracks){
27  
-        var newTracks=[];
  19
+cloudsound.myPrivateStreamableTracks=function(token,callback){
  20
+    jsonRequest('/me/tracks.json',{oauth_token:token,filter:'private,streamable'},function(tracks){
  21
+        var newTracks=[],
  22
+	    i=0;
28 23
         if(tracks && tracks.length>0){
29  
-            for(var i=0;i<tracks.length;i++){
  24
+            for(;i<tracks.length;i++){
30 25
                 var track=tracks[i];
31 26
                 if(track.title){
32 27
                     var newTrack={
33 28
                         name:track.title,
34  
-                        url:track.stream_url+'?oauth_token='+cloudsound.oauth_token
  29
+                        url:track.stream_url+'?oauth_token='+token
35 30
                     };
36 31
                     newTracks[i]=newTrack;    
37 32
                 }
@@ -44,8 +39,6 @@ cloudsound.myPrivateStreamableTracks=function(callback){
44 39
 };
45 40
 
46 41
 var jsonRequest=function(resource,params,successCallback,errorCallback){
47  
-    params=params||{};
48  
-    params.oauth_token=cloudsound.oauth_token;
49 42
     rest.get('https://api.soundcloud.com'+resource+'?'+querystring.stringify(params))
50 43
         .on('complete',successCallback)
51 44
         .on('error',errorCallback);
4  package.json
@@ -3,7 +3,7 @@
3 3
   "author"        : "Anton Podviaznikov <podviaznikov@gmail.com>",
4 4
   "url"           : "https://github.com/podviaznikov/soundcloud-node",
5 5
   "keywords"      : ["soundcloud", "wrapper", "api", "api-client", "soundcloud.com"],
6  
-  "version"       : "0.1.5",
  6
+  "version"       : "0.2.0",
7 7
   "main"          : "./lib/soundcloud",
8 8
   "engines"       : { "node": ">= 0.4.1" }
9  
-}
  9
+}
10  soundcloud-node.iml
... ...
@@ -0,0 +1,10 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<module type="JAVA_MODULE" version="4">
  3
+  <component name="NewModuleRootManager" inherit-compiler-output="true">
  4
+    <exclude-output />
  5
+    <content url="file://$MODULE_DIR$" />
  6
+    <orderEntry type="inheritedJdk" />
  7
+    <orderEntry type="sourceFolder" forTests="false" />
  8
+  </component>
  9
+</module>
  10
+

0 notes on commit e94d3e8

Please sign in to comment.
Something went wrong with that request. Please try again.