This file contains 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
match = re.search("pyWinUSB\/\w{40}\/source\/(.*\/)", file) | |
dest_file = "/".join([ | |
self.destination_mount | |
, match.group(1) if match else "" | |
]) |
This file contains 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
export class Tabs implements ng.IDirective { | |
public priority: number = 5000; | |
public terminal: boolean = true; | |
//public scope = { | |
// repeat: '@appTabs' | |
// , pages: '@appTabsLimit' | |
//}; | |
constructor( | |
private $compile: ng.ICompileService) { |
This file contains 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
export module Directives { | |
interface ITabsScope extends ng.IScope { | |
repeat: string; | |
pages: number; | |
} | |
export class Tabs implements ng.IDirective { | |
public priority: number = 5000; | |
public terminal: boolean = true; | |
public scope = { |
This file contains 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
// bug: element.bind('click', <any> element.toggleClass.bind(element, scope.className)); | |
element.bind('click', () => { | |
element.toggleClass(scope.className) | |
}); |
This file contains 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
{ | |
"title" : "Zarządzaj kontami:", | |
"icon" : "home", | |
"links" : [ | |
{ | |
"title" : "Dodaj", | |
"sref" : "" | |
}, | |
{ | |
"title" : "Edytuj", |
NewerOlder