This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Controller from '@ember/controller'; | |
import { A } from '@ember/array'; | |
export default class Index extends Controller { | |
list1 = A(['Item 1', 'Item 2', 'Item 3']); | |
list2 = A([ | |
A(['Item 1', 'Item 2', 'Item 3']), | |
A(['Item 4', 'Item 5', 'Item 6']), | |
]); | |
list3 = A([ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Replace the following values with your own: | |
// auth_token | |
// room_id | |
// from | |
javascript: | |
var auth_token = "Your auth_token"; | |
var room_id = "Room to send message"; | |
var from = "Sender's name"; | |
var hipchat = 'https://api.hipchat.com/v1/rooms/message?auth_token=' + auth_token + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
some_variable = if exp && ext_define?(exp) | |
make_class(to_value(exp["arguments"][0]), exp) | |
# foo = Ext.extend("Parent", {}) | |
elsif exp && assignment?(exp) && ext_extend?(exp["right"]) | |
make_class(to_s(exp["left"]), exp["right"]) | |
# Foo = ... | |
elsif exp && assignment?(exp) && class_name?(to_s(exp["left"])) | |
make_class(to_s(exp["left"]), exp["right"]) |