From 167afdc41bb58f82bd72810d397e94fbb0a774a2 Mon Sep 17 00:00:00 2001 From: Thomas Hounsell Date: Sat, 28 Mar 2015 00:20:31 +0000 Subject: [PATCH] Refresh Pt 3a --- Scripts/index-page.js | 9 +++++++++ Scripts/index-page.js.map | 1 + Scripts/index-page.ts | 7 ++++++- Scripts/typings/jquery/jquery.d.ts | 10 +++++++++- Web.config | 3 +++ packages.config | 13 +++++++------ 6 files changed, 35 insertions(+), 8 deletions(-) create mode 100644 Scripts/index-page.js create mode 100644 Scripts/index-page.js.map diff --git a/Scripts/index-page.js b/Scripts/index-page.js new file mode 100644 index 0000000..c44c5d9 --- /dev/null +++ b/Scripts/index-page.js @@ -0,0 +1,9 @@ +/// +/// +var IndexPage = (function () { + function IndexPage() { + this.panelSelector = "#expand-panel"; + } + return IndexPage; +})(); +//# sourceMappingURL=index-page.js.map \ No newline at end of file diff --git a/Scripts/index-page.js.map b/Scripts/index-page.js.map new file mode 100644 index 0000000..dce2eb3 --- /dev/null +++ b/Scripts/index-page.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index-page.js","sourceRoot":"","sources":["index-page.ts"],"names":["IndexPage","IndexPage.constructor"],"mappings":"AAAA,mDAAmD;AACnD,uDAAuD;AAEvD,IAAM,SAAS;IAAfA,SAAMA,SAASA;QACHC,kBAAaA,GAAWA,eAAeA,CAACA;IACpDA,CAACA;IAADD,gBAACA;AAADA,CAACA,AAFD,IAEC"} \ No newline at end of file diff --git a/Scripts/index-page.ts b/Scripts/index-page.ts index 5f28270..d72b32d 100644 --- a/Scripts/index-page.ts +++ b/Scripts/index-page.ts @@ -1 +1,6 @@ - \ No newline at end of file +/// +/// + +class IndexPage { + private panelSelector: string = "#expand-panel"; +} \ No newline at end of file diff --git a/Scripts/typings/jquery/jquery.d.ts b/Scripts/typings/jquery/jquery.d.ts index 2452ec3..61fd624 100644 --- a/Scripts/typings/jquery/jquery.d.ts +++ b/Scripts/typings/jquery/jquery.d.ts @@ -276,7 +276,15 @@ interface JQueryGenericPromise { * @param doneFilter A function that is called when the Deferred is resolved. * @param failFilter An optional function that is called when the Deferred is rejected. */ - then(doneFilter: (value: T, ...values: any[]) => U|JQueryPromise, failFilter?: (...reasons: any[]) => U|JQueryPromise, progressFilter?: (...progression: any[]) => any): JQueryPromise; + then(doneFilter: (value?: T, ...values: any[]) => U|JQueryPromise, failFilter?: (...reasons: any[]) => any, progressFilter?: (...progression: any[]) => any): JQueryPromise; + + /** + * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress. + * + * @param doneFilter A function that is called when the Deferred is resolved. + * @param failFilter An optional function that is called when the Deferred is rejected. + */ + then(doneFilter: (value?: T, ...values: any[]) => void, failFilter?: (...reasons: any[]) => any, progressFilter?: (...progression: any[]) => any): JQueryPromise; } /** diff --git a/Web.config b/Web.config index ceffa27..d298024 100644 --- a/Web.config +++ b/Web.config @@ -40,10 +40,13 @@ + + + diff --git a/packages.config b/packages.config index e9c4301..c3ce2fa 100644 --- a/packages.config +++ b/packages.config @@ -3,13 +3,14 @@ - + - - - - + + + + + @@ -21,7 +22,7 @@ - +