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 Foundation | |
import os.log | |
public class OrientationFixFlutterViewController : FlutterViewController { | |
fileprivate var _orientationPreferences: UIInterfaceOrientationMask = .all | |
override public var supportedInterfaceOrientations: UIInterfaceOrientationMask { | |
get { return _orientationPreferences } | |
} | |
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
11-16 15:48:53.611 20335-20335/? I/WCNSS_FILTER: ibs_msm_serial_clock_vote: vote UART CLK ON using UART driver's ioctl() | |
11-16 15:48:53.646 20307-20341/? W/bt_smp: smp_br_connect_callback is called on unexpected transport 2 | |
11-16 15:48:53.646 20307-20341/? W/bt_btif: bta_dm_acl_change info: 0x0 | |
11-16 15:48:53.646 20307-20341/? E/bt_btif: bta_gattc_rebuild_cache: bta_gattc_rebuild_cache | |
11-16 15:48:53.646 20307-20328/? D/bt_btif_dm: remote version info [54:ab:3a:fc:15:14]: 0, 0, 0 | |
11-16 15:48:53.647 20307-20328/? E/BluetoothRemoteDevices: state12newState0 | |
11-16 15:48:53.649 20307-20328/? D/BtGatt.GattService: onConnected() - clientIf=7, connId=7, address=54:AB:3A:FC:15:14 | |
11-16 15:48:53.650 12989-13001/? D/BluetoothGatt: onClientConnectionState() - status=0 clientIf=7 device=54:AB:3A:FC:15:14 | |
11-16 15:48:53.651 12989-6849/? D/BluetoothGatt: requestConnectionPriority() - params: 1 | |
11-16 15:48:53.655 20307-20318/? D/BtGatt.GattService: connectionParameterUpdate() - address=54:AB:3A:FC:15:14params=1 interval=9/12 |
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
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<link rel="import" href="../paper-progress/paper-progress.html"> | |
<polymer-element name="my-element"> |
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
function DOMTokenList() { | |
Object.defineProperty(this, 'length', { | |
enumerable: true, | |
configurable: false, | |
get: function() { | |
var tLargestNumber = -1; | |
var tKeys = Object.keys(this); | |
var tTemp, tKey; | |
for (var i = 0, il = tKeys.length; i < il; i++) { |
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
function inherit(pThis, pBase) { | |
pThis.prototype = Object.create(pBase.prototype); | |
pThis.prototype.constructor = pThis; | |
pThis.prototype.super = pBase.prototype; | |
} | |
function Animal() { | |
this.type = 'animal'; | |
this.num = 34; | |
} |