Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
issue #32 - 2/3 complete - added localHistory implementation and open…
… / close trigger
- Loading branch information
Robert Gregor
committed
Jul 29, 2015
1 parent
75b506e
commit 965e54e
Showing
9 changed files
with
123 additions
and
42 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
load: | ||
- 'http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js' | ||
- 'http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.js' | ||
- src/modules/addons/enom_pro/js/jquery.admin.js | ||
|
||
test: | ||
- tests/qunit/*.js | ||
|
||
#serve: | ||
# - build/encoded_prep/modules/addons/enom_pro/css/admin.min.css |
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
TestCase('localStorage', { | ||
testSupportsLocalStorage: function () { | ||
assertTrue('supports', enom_pro.support.localStorage()); | ||
}, | ||
testGetLocalStorageKey: function () { | ||
var got_key = enom_pro.getLocalStorageKey('key'); | ||
assertEquals('key is wrong', 'enom_pro_key', got_key); | ||
}, | ||
testSaveLocalStorage: function (){ | ||
var set = 'bam'; | ||
enom_pro.setLocalStorage('foobar', set); | ||
assertEquals('get localstorage failed', set, enom_pro.getLocalStorage('foobar')); | ||
} | ||
}); |