Skip to content

Commit c3733f8

Browse files
committed
remove pistachios from kd: WIP
1 parent 8d4624f commit c3733f8

48 files changed

Lines changed: 438 additions & 73 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "client/Framework"]
22
path = client/Framework
3-
url = git@github.com:koding/kd.git
3+
url = git@github.com:humanchimp/kd.git

Builder.coffee

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,6 @@ module.exports = class Builder
356356

357357
uglifiedSourceMap = UglifyJS.SourceMap(orig: jsSourceMap)
358358
stream = UglifyJS.OutputStream
359-
semicolons: false
360359
source_map: uglifiedSourceMap
361360
ast.print stream
362361
file.content = stream.toString()

client/About/AppView.coffee

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class AboutView extends KDView
1+
class AboutView extends JView
22

33
constructor:->
44

@@ -40,9 +40,6 @@ class AboutView extends KDView
4040

4141
@footer = new FooterView
4242

43-
44-
viewAppended: JView::viewAppended
45-
4643
pistachio : ->
4744
"""
4845
<section class='about-company'>

client/About/aboutlistitem.coffee

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
class AboutListItem extends KDListItemView
22

3+
JView.mixin @prototype
4+
35
constructor:(options={}, data)->
46

57
options.tagName = 'li'
@@ -22,9 +24,6 @@ class AboutListItem extends KDListItemView
2224
cssClass : 'title'
2325
partial : @getData().title
2426

25-
26-
viewAppended: JView::viewAppended
27-
2827
pistachio: ->
2928
"""
3029
<figure>

client/About/jobsitemview.coffee

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class JobsItemView extends KDView
1+
class JobsItemView extends JView
22
constructor : (options = {}, data) ->
33

44
options.cssClass = KD.utils.curry 'jobs-item-view', options.cssClass
@@ -17,8 +17,6 @@ class JobsItemView extends KDView
1717
cssClass : 'apply-button'
1818
href : @getData().applyUrl
1919

20-
viewAppended : JView::viewAppended
21-
2220
toggleDetails : (e) ->
2321

2422
e.preventDefault()

client/Account/views/gmailcontact.coffee

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
class GmailContactsListItem extends KDListItemView
2+
3+
JView.mixin @prototype
4+
25
constructor: (options = {}, data) ->
36
options.type = "gmail"
47
super options, data

client/Account/views/linkedaccts.coffee

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ class AccountLinkedAccountsList extends KDListView
1919

2020
class AccountLinkedAccountsListItem extends KDListItemView
2121

22+
JView.mixin @prototype
23+
2224
notify = (message)-> new KDNotificationView title : message, type : 'mini', duration : 3000
2325

2426

client/Account/views/paymentmethods.coffee

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
class AccountPaymentMethodsListController extends AccountListViewController
22

3+
34
constructor:(options,data)->
45

56
options.noItemFoundText = "You have no payment method."
@@ -83,6 +84,8 @@ class AccountPaymentMethodsList extends KDListView
8384

8485
class AccountPaymentMethodsListItem extends KDListItemView
8586

87+
JView.mixin @prototype
88+
8689
constructor:(options = {}, data)->
8790

8891
options.tagName = "li"
@@ -109,8 +112,6 @@ class AccountPaymentMethodsListItem extends KDListItemView
109112
e.preventDefault()
110113
@emit 'PaymentMethodRemoveRequested', data
111114

112-
viewAppended: JView::viewAppended
113-
114115
pistachio:->
115116
"""
116117
{{> @paymentMethod}}

client/Account/views/subscriptions.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ class AccountSubscriptionsList extends KDListView
8383

8484
class AccountSubscriptionsListItem extends KDListItemView
8585

86+
JView.mixin @prototype
87+
8688
constructor:(options={}, data)->
8789
options.tagName or= 'li'
8890
options.type or= 'subscription'
@@ -103,8 +105,6 @@ class AccountSubscriptionsListItem extends KDListItemView
103105
'ReactivateRequested'
104106
]
105107

106-
viewAppended: JView::viewAppended
107-
108108
pistachio:->
109109
"""
110110
{{> @subscription}}

client/Bongo/includes.coffee

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ module.exports = [
77
"sockjs-0.3-patched.js",
88
"broker.js",
99
"bongo.js",
10+
"pistachio.js",
1011

1112

1213
]

0 commit comments

Comments
 (0)